mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-05 06:36:34 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
853ab3c3ae | ||
|
|
3b7f3cb61d |
Generated
+40
-40
@@ -39816,17 +39816,17 @@
|
||||
"version": "0.19.1",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^1.0.0",
|
||||
"@clack/prompts": "1.1.0",
|
||||
"@getpaseo/client": "0.19.1",
|
||||
"@getpaseo/protocol": "0.19.1",
|
||||
"@getpaseo/server": "0.19.1",
|
||||
"chalk": "^5.3.0",
|
||||
"commander": "^12.0.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ws": "^8.14.2",
|
||||
"yaml": "^2.8.4",
|
||||
"zod": "^4.4.3"
|
||||
"chalk": "5.6.2",
|
||||
"commander": "12.1.0",
|
||||
"mime-types": "2.1.35",
|
||||
"tree-kill": "1.2.2",
|
||||
"ws": "8.20.0",
|
||||
"yaml": "2.8.4",
|
||||
"zod": "4.4.3"
|
||||
},
|
||||
"bin": {
|
||||
"paseo": "bin/paseo"
|
||||
@@ -40715,56 +40715,56 @@
|
||||
"version": "0.19.1",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "^0.17.1",
|
||||
"@agentclientprotocol/sdk": "0.17.1",
|
||||
"@anthropic-ai/claude-agent-sdk": "0.3.326",
|
||||
"@anthropic-ai/sdk": "^0.104.2",
|
||||
"@anthropic-ai/sdk": "0.104.2",
|
||||
"@getpaseo/client": "0.19.1",
|
||||
"@getpaseo/highlight": "0.19.1",
|
||||
"@getpaseo/plugin": "0.19.1",
|
||||
"@getpaseo/protocol": "0.19.1",
|
||||
"@getpaseo/relay": "0.19.1",
|
||||
"@isaacs/ttlcache": "^2.1.4",
|
||||
"@isaacs/ttlcache": "2.1.4",
|
||||
"@modelcontextprotocol/node": "2.1.2",
|
||||
"@modelcontextprotocol/sdk": "1.29.0",
|
||||
"@modelcontextprotocol/server": "2.4.0",
|
||||
"@opencode-ai/sdk": "1.14.46",
|
||||
"@opencode/client": "2.0.10",
|
||||
"@silvia-odwyer/photon-node": "^0.3.4",
|
||||
"@silvia-odwyer/photon-node": "0.3.4",
|
||||
"@xterm/addon-serialize": "0.14.0",
|
||||
"@xterm/addon-unicode-graphemes": "0.5.0-beta.330",
|
||||
"@xterm/headless": "6.1.0-beta.334",
|
||||
"ai": "5.0.78",
|
||||
"ajv": "^8.20.0",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"dotenv": "^17.2.3",
|
||||
"esbuild": "^0.25.12",
|
||||
"express": "^4.18.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
"lru-cache": "^11.5.1",
|
||||
"markdown-it": "^10.0.0",
|
||||
"mnemonic-id": "^3.2.7",
|
||||
"ajv": "8.20.0",
|
||||
"bcryptjs": "3.0.3",
|
||||
"dotenv": "17.3.1",
|
||||
"esbuild": "0.25.12",
|
||||
"express": "4.22.1",
|
||||
"fast-deep-equal": "3.1.3",
|
||||
"https-proxy-agent": "7.0.6",
|
||||
"lru-cache": "11.5.1",
|
||||
"markdown-it": "10.0.0",
|
||||
"mnemonic-id": "3.2.7",
|
||||
"node-pty": "1.2.0-beta.15",
|
||||
"openai": "^6.44.0",
|
||||
"p-limit": "^7.3.0",
|
||||
"p-memoize": "^8.0.0",
|
||||
"p-throttle": "^8.1.0",
|
||||
"parse5": "^7.3.0",
|
||||
"pino": "^10.2.0",
|
||||
"pino-pretty": "^13.1.3",
|
||||
"qrcode": "^1.5.4",
|
||||
"rotating-file-stream": "^3.2.9",
|
||||
"semver": "^7.8.5",
|
||||
"openai": "6.44.0",
|
||||
"p-limit": "7.3.0",
|
||||
"p-memoize": "8.0.0",
|
||||
"p-throttle": "8.1.0",
|
||||
"parse5": "7.3.0",
|
||||
"pino": "10.3.1",
|
||||
"pino-pretty": "13.1.3",
|
||||
"qrcode": "1.5.4",
|
||||
"rotating-file-stream": "3.2.9",
|
||||
"semver": "7.8.5",
|
||||
"sherpa-onnx-node": "1.12.28",
|
||||
"strip-ansi": "^7.1.2",
|
||||
"tree-kill": "^1.2.2",
|
||||
"typescript": "^5.9.3",
|
||||
"undici": "^7.24.8",
|
||||
"uuid": "^9.0.1",
|
||||
"which": "^5.0.0",
|
||||
"ws": "^8.14.2",
|
||||
"strip-ansi": "7.1.2",
|
||||
"tree-kill": "1.2.2",
|
||||
"typescript": "5.9.3",
|
||||
"undici": "7.24.8",
|
||||
"uuid": "9.0.1",
|
||||
"which": "5.0.0",
|
||||
"ws": "8.20.0",
|
||||
"yaml": "2.9.1",
|
||||
"zod": "^4.4.3"
|
||||
"zod": "4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@modelcontextprotocol/client": "2.4.0",
|
||||
|
||||
@@ -28,17 +28,17 @@
|
||||
"test:e2e:lifecycle": "npx tsx tests/e2e/agent-lifecycle.test.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^1.0.0",
|
||||
"@clack/prompts": "1.1.0",
|
||||
"@getpaseo/client": "0.19.1",
|
||||
"@getpaseo/protocol": "0.19.1",
|
||||
"@getpaseo/server": "0.19.1",
|
||||
"chalk": "^5.3.0",
|
||||
"commander": "^12.0.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ws": "^8.14.2",
|
||||
"yaml": "^2.8.4",
|
||||
"zod": "^4.4.3"
|
||||
"chalk": "5.6.2",
|
||||
"commander": "12.1.0",
|
||||
"mime-types": "2.1.35",
|
||||
"tree-kill": "1.2.2",
|
||||
"ws": "8.20.0",
|
||||
"yaml": "2.8.4",
|
||||
"zod": "4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mime-types": "^3.0.1",
|
||||
|
||||
@@ -111,56 +111,56 @@
|
||||
"measure:diff-subscriptions": "tsx scripts/measure-diff-subscriptions.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "^0.17.1",
|
||||
"@agentclientprotocol/sdk": "0.17.1",
|
||||
"@anthropic-ai/claude-agent-sdk": "0.3.326",
|
||||
"@anthropic-ai/sdk": "^0.104.2",
|
||||
"@anthropic-ai/sdk": "0.104.2",
|
||||
"@getpaseo/client": "0.19.1",
|
||||
"@getpaseo/highlight": "0.19.1",
|
||||
"@getpaseo/plugin": "0.19.1",
|
||||
"@getpaseo/protocol": "0.19.1",
|
||||
"@getpaseo/relay": "0.19.1",
|
||||
"@isaacs/ttlcache": "^2.1.4",
|
||||
"@isaacs/ttlcache": "2.1.4",
|
||||
"@modelcontextprotocol/node": "2.1.2",
|
||||
"@modelcontextprotocol/sdk": "1.29.0",
|
||||
"@modelcontextprotocol/server": "2.4.0",
|
||||
"@opencode-ai/sdk": "1.14.46",
|
||||
"@opencode/client": "2.0.10",
|
||||
"@silvia-odwyer/photon-node": "^0.3.4",
|
||||
"@silvia-odwyer/photon-node": "0.3.4",
|
||||
"@xterm/addon-serialize": "0.14.0",
|
||||
"@xterm/addon-unicode-graphemes": "0.5.0-beta.330",
|
||||
"@xterm/headless": "6.1.0-beta.334",
|
||||
"ai": "5.0.78",
|
||||
"ajv": "^8.20.0",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"dotenv": "^17.2.3",
|
||||
"esbuild": "^0.25.12",
|
||||
"express": "^4.18.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
"lru-cache": "^11.5.1",
|
||||
"markdown-it": "^10.0.0",
|
||||
"mnemonic-id": "^3.2.7",
|
||||
"ajv": "8.20.0",
|
||||
"bcryptjs": "3.0.3",
|
||||
"dotenv": "17.3.1",
|
||||
"esbuild": "0.25.12",
|
||||
"express": "4.22.1",
|
||||
"fast-deep-equal": "3.1.3",
|
||||
"https-proxy-agent": "7.0.6",
|
||||
"lru-cache": "11.5.1",
|
||||
"markdown-it": "10.0.0",
|
||||
"mnemonic-id": "3.2.7",
|
||||
"node-pty": "1.2.0-beta.15",
|
||||
"openai": "^6.44.0",
|
||||
"p-limit": "^7.3.0",
|
||||
"p-memoize": "^8.0.0",
|
||||
"p-throttle": "^8.1.0",
|
||||
"parse5": "^7.3.0",
|
||||
"pino": "^10.2.0",
|
||||
"pino-pretty": "^13.1.3",
|
||||
"qrcode": "^1.5.4",
|
||||
"rotating-file-stream": "^3.2.9",
|
||||
"semver": "^7.8.5",
|
||||
"openai": "6.44.0",
|
||||
"p-limit": "7.3.0",
|
||||
"p-memoize": "8.0.0",
|
||||
"p-throttle": "8.1.0",
|
||||
"parse5": "7.3.0",
|
||||
"pino": "10.3.1",
|
||||
"pino-pretty": "13.1.3",
|
||||
"qrcode": "1.5.4",
|
||||
"rotating-file-stream": "3.2.9",
|
||||
"semver": "7.8.5",
|
||||
"sherpa-onnx-node": "1.12.28",
|
||||
"strip-ansi": "^7.1.2",
|
||||
"tree-kill": "^1.2.2",
|
||||
"typescript": "^5.9.3",
|
||||
"undici": "^7.24.8",
|
||||
"uuid": "^9.0.1",
|
||||
"which": "^5.0.0",
|
||||
"ws": "^8.14.2",
|
||||
"strip-ansi": "7.1.2",
|
||||
"tree-kill": "1.2.2",
|
||||
"typescript": "5.9.3",
|
||||
"undici": "7.24.8",
|
||||
"uuid": "9.0.1",
|
||||
"which": "5.0.0",
|
||||
"ws": "8.20.0",
|
||||
"yaml": "2.9.1",
|
||||
"zod": "^4.4.3"
|
||||
"zod": "4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@modelcontextprotocol/client": "2.4.0",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import assert from "node:assert/strict";
|
||||
import test from "node:test";
|
||||
import { readFileSync } from "node:fs";
|
||||
import {
|
||||
compareReleaseVersions,
|
||||
computeNextReleaseVersion,
|
||||
@@ -63,3 +64,28 @@ test("compares stable and beta release versions in semver order", () => {
|
||||
assert.equal(compareReleaseVersions("0.17.0", "0.17.0"), 0);
|
||||
assert.equal(compareReleaseVersions("0.17.0-beta.2", "0.17.0-beta.2"), 0);
|
||||
});
|
||||
|
||||
const exactVersion =
|
||||
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
|
||||
|
||||
test("exact versions reject ranges and accept prerelease and build metadata", () => {
|
||||
for (const version of ["1.2.3", "1.2.3-beta.1", "1.2.3+build.1"]) {
|
||||
assert.match(version, exactVersion);
|
||||
}
|
||||
for (const version of ["^1.2.3", "~1.2.3", "*", ">=1.2.3", "1.2.3 || 2.0.0", "1.2", "1.2.3-01"]) {
|
||||
assert.doesNotMatch(version, exactVersion);
|
||||
}
|
||||
});
|
||||
|
||||
test("CLI and server runtime dependencies use exact versions", () => {
|
||||
for (const workspace of ["cli", "server"]) {
|
||||
const manifest = JSON.parse(
|
||||
readFileSync(new URL(`../packages/${workspace}/package.json`, import.meta.url), "utf8"),
|
||||
);
|
||||
for (const section of ["dependencies", "optionalDependencies"]) {
|
||||
for (const [name, version] of Object.entries(manifest[section] ?? {})) {
|
||||
assert.match(version, exactVersion, `${workspace} ${section}: ${name}@${version}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user