chore: align server package name for workspaces

This commit is contained in:
Mohamed Boudra
2026-02-05 13:12:53 +07:00
parent 3a31d708f8
commit 8cf86a5d98
18 changed files with 38 additions and 38 deletions
+14 -14
View File
@@ -7,6 +7,7 @@
"": { "": {
"name": "paseo", "name": "paseo",
"version": "1.0.0", "version": "1.0.0",
"hasInstallScript": true,
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"packages/server", "packages/server",
@@ -4728,6 +4729,14 @@
"integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@getpaseo/cli": {
"resolved": "packages/cli",
"link": true
},
"node_modules/@getpaseo/server": {
"resolved": "packages/server",
"link": true
},
"node_modules/@gorhom/bottom-sheet": { "node_modules/@gorhom/bottom-sheet": {
"version": "5.2.6", "version": "5.2.6",
"resolved": "https://registry.npmjs.org/@gorhom/bottom-sheet/-/bottom-sheet-5.2.6.tgz", "resolved": "https://registry.npmjs.org/@gorhom/bottom-sheet/-/bottom-sheet-5.2.6.tgz",
@@ -6699,10 +6708,6 @@
"resolved": "packages/app", "resolved": "packages/app",
"link": true "link": true
}, },
"node_modules/@paseo/cli": {
"resolved": "packages/cli",
"link": true
},
"node_modules/@paseo/desktop": { "node_modules/@paseo/desktop": {
"resolved": "packages/desktop", "resolved": "packages/desktop",
"link": true "link": true
@@ -6711,10 +6716,6 @@
"resolved": "packages/relay", "resolved": "packages/relay",
"link": true "link": true
}, },
"node_modules/@paseo/server": {
"resolved": "packages/server",
"link": true
},
"node_modules/@paseo/website": { "node_modules/@paseo/website": {
"resolved": "packages/website", "resolved": "packages/website",
"link": true "link": true
@@ -26280,8 +26281,7 @@
}, },
"packages/app": { "packages/app": {
"name": "@paseo/app", "name": "@paseo/app",
"version": "1.0.0", "version": "0.1.0",
"hasInstallScript": true,
"dependencies": { "dependencies": {
"@boudra/expo-two-way-audio": "^0.1.3", "@boudra/expo-two-way-audio": "^0.1.3",
"@dnd-kit/core": "^6.3.1", "@dnd-kit/core": "^6.3.1",
@@ -26289,6 +26289,7 @@
"@dnd-kit/utilities": "^3.2.2", "@dnd-kit/utilities": "^3.2.2",
"@expo/vector-icons": "^15.0.2", "@expo/vector-icons": "^15.0.2",
"@floating-ui/react-native": "^0.10.7", "@floating-ui/react-native": "^0.10.7",
"@getpaseo/server": "*",
"@gorhom/bottom-sheet": "^5.2.6", "@gorhom/bottom-sheet": "^5.2.6",
"@gorhom/portal": "^1.0.14", "@gorhom/portal": "^1.0.14",
"@lezer/common": "^1.5.0", "@lezer/common": "^1.5.0",
@@ -26299,7 +26300,6 @@
"@lezer/json": "^1.0.3", "@lezer/json": "^1.0.3",
"@lezer/markdown": "^1.6.2", "@lezer/markdown": "^1.6.2",
"@lezer/python": "^1.1.18", "@lezer/python": "^1.1.18",
"@paseo/server": "*",
"@react-native-async-storage/async-storage": "2.2.0", "@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/bottom-tabs": "^7.4.0", "@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.3", "@react-navigation/elements": "^2.6.3",
@@ -26391,10 +26391,10 @@
} }
}, },
"packages/cli": { "packages/cli": {
"name": "@paseo/cli", "name": "@getpaseo/cli",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@paseo/server": "*", "@getpaseo/server": "*",
"chalk": "^5.3.0", "chalk": "^5.3.0",
"commander": "^12.0.0", "commander": "^12.0.0",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
@@ -26472,7 +26472,7 @@
} }
}, },
"packages/server": { "packages/server": {
"name": "@paseo/server", "name": "@getpaseo/server",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@ai-sdk/openai": "^2.0.52", "@ai-sdk/openai": "^2.0.52",
+1 -1
View File
@@ -21,7 +21,7 @@
"test": "npm run test --workspaces --if-present", "test": "npm run test --workspaces --if-present",
"format": "prettier --write .", "format": "prettier --write .",
"format:check": "prettier --check .", "format:check": "prettier --check .",
"start": "npm run start --workspace=@paseo/server", "start": "npm run start --workspace=@getpaseo/server",
"android": "npm run android --workspace=@paseo/app", "android": "npm run android --workspace=@paseo/app",
"android:release": "ANDROID_VARIANT=productionRelease npm run android --workspace=@paseo/app", "android:release": "ANDROID_VARIANT=productionRelease npm run android --workspace=@paseo/app",
"android:dev-release": "ANDROID_VARIANT=devRelease npm run android --workspace=@paseo/app", "android:dev-release": "ANDROID_VARIANT=devRelease npm run android --workspace=@paseo/app",
+1 -1
View File
@@ -36,7 +36,7 @@
"@lezer/json": "^1.0.3", "@lezer/json": "^1.0.3",
"@lezer/markdown": "^1.6.2", "@lezer/markdown": "^1.6.2",
"@lezer/python": "^1.1.18", "@lezer/python": "^1.1.18",
"@paseo/server": "*", "@getpaseo/server": "*",
"@react-native-async-storage/async-storage": "2.2.0", "@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/bottom-tabs": "^7.4.0", "@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.3", "@react-navigation/elements": "^2.6.3",
+2 -2
View File
@@ -1,6 +1,6 @@
import stripAnsi from "strip-ansi"; import stripAnsi from "strip-ansi";
import { z } from "zod"; import { z } from "zod";
import { stripShellWrapperPrefix } from "@paseo/server/utils/tool-call-parsers"; import { stripShellWrapperPrefix } from "@getpaseo/server/utils/tool-call-parsers";
import { getNowMs, isPerfLoggingEnabled, perfLog } from "./perf"; import { getNowMs, isPerfLoggingEnabled, perfLog } from "./perf";
const TOOL_CALL_DIFF_LOG_TAG = "[ToolCallDiff]"; const TOOL_CALL_DIFF_LOG_TAG = "[ToolCallDiff]";
@@ -1340,4 +1340,4 @@ export {
stripCwdPrefix, stripCwdPrefix,
extractTodos, extractTodos,
type TodoItem, type TodoItem,
} from "@paseo/server/utils/tool-call-parsers"; } from "@getpaseo/server/utils/tool-call-parsers";
+5 -5
View File
@@ -2,7 +2,7 @@
## Scope ## Scope
- Audited `packages/cli/src/commands/**` for inline type/interface definitions. - Audited `packages/cli/src/commands/**` for inline type/interface definitions.
- Checked `@paseo/server` exports from `packages/server/src/server/exports.ts`. - Checked `@getpaseo/server` exports from `packages/server/src/server/exports.ts`.
- Note: `packages/server/src/index.ts` does **not** exist in this repo; the package export entrypoint is `./src/server/exports.ts` per `packages/server/package.json`. - Note: `packages/server/src/index.ts` does **not** exist in this repo; the package export entrypoint is `./src/server/exports.ts` per `packages/server/package.json`.
## Server Exports (current) ## Server Exports (current)
@@ -22,7 +22,7 @@ Inline types:
- `AgentSnapshot` (id/provider/cwd/createdAt/status/title) - `AgentSnapshot` (id/provider/cwd/createdAt/status/title)
Recommended server type: Recommended server type:
- `AgentSnapshotPayload` from `packages/server/src/shared/messages.ts` (daemon client returns this shape). **Not exported** from `@paseo/server` today. - `AgentSnapshotPayload` from `packages/server/src/shared/messages.ts` (daemon client returns this shape). **Not exported** from `@getpaseo/server` today.
Notes: Notes:
- `AgentRunResult` is CLI output; no server type expected. - `AgentRunResult` is CLI output; no server type expected.
@@ -136,8 +136,8 @@ Inline types:
Server type usage: Server type usage:
- CLI-only; no server type expected. - CLI-only; no server type expected.
## Gaps in `@paseo/server` Exports (needed for CLI cleanup) ## Gaps in `@getpaseo/server` Exports (needed for CLI cleanup)
To replace inline types in CLI commands, `@paseo/server` would need to export (directly or re-export): To replace inline types in CLI commands, `@getpaseo/server` would need to export (directly or re-export):
- From `packages/server/src/shared/messages.ts`: - From `packages/server/src/shared/messages.ts`:
- `AgentSnapshotPayload` - `AgentSnapshotPayload`
- `AgentStreamEventPayload` - `AgentStreamEventPayload`
@@ -152,4 +152,4 @@ To replace inline types in CLI commands, `@paseo/server` would need to export (d
- `AgentTimelineItem` - `AgentTimelineItem`
## Summary ## Summary
Primary inline types that should become server imports are the agent snapshot/timeline/message/permission/mode shapes in `agent/*` commands. All are defined in server shared or agent SDK types today but are not exported through `@paseo/server`. Primary inline types that should become server imports are the agent snapshot/timeline/message/permission/mode shapes in `agent/*` commands. All are defined in server shared or agent SDK types today but are not exported through `@getpaseo/server`.
+1 -1
View File
@@ -6,7 +6,7 @@ import type {
AgentStreamSnapshotMessage, AgentStreamSnapshotMessage,
AgentStreamEventPayload, AgentStreamEventPayload,
AgentTimelineItem, AgentTimelineItem,
} from '@paseo/server' } from '@getpaseo/server'
export interface AgentAttachOptions { export interface AgentAttachOptions {
host?: string host?: string
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentSnapshotPayload } from '@paseo/server' import type { AgentSnapshotPayload } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
+2 -2
View File
@@ -6,8 +6,8 @@ import type {
AgentStreamMessage, AgentStreamMessage,
AgentStreamSnapshotMessage, AgentStreamSnapshotMessage,
AgentTimelineItem, AgentTimelineItem,
} from '@paseo/server' } from '@getpaseo/server'
import { curateAgentActivity } from '@paseo/server' import { curateAgentActivity } from '@getpaseo/server'
export interface AgentLogsOptions extends CommandOptions { export interface AgentLogsOptions extends CommandOptions {
follow?: boolean follow?: boolean
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentSnapshotPayload } from '@paseo/server' import type { AgentSnapshotPayload } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
+1 -1
View File
@@ -6,7 +6,7 @@ import type {
CommandError, CommandError,
AnyCommandResult, AnyCommandResult,
} from '../../output/index.js' } from '../../output/index.js'
import type { AgentMode } from '@paseo/server' import type { AgentMode } from '@getpaseo/server'
/** Result for setting mode */ /** Result for setting mode */
export interface SetModeResult { export interface SetModeResult {
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentSnapshotPayload } from '@paseo/server' import type { AgentSnapshotPayload } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, SingleResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, SingleResult, OutputSchema, CommandError } from '../../output/index.js'
import { readFileSync } from 'node:fs' import { readFileSync } from 'node:fs'
+2 -2
View File
@@ -6,8 +6,8 @@ import {
resolvePaseoHome, resolvePaseoHome,
createRootLogger, createRootLogger,
loadPersistedConfig, loadPersistedConfig,
} from '@paseo/server' } from '@getpaseo/server'
import type { CliConfigOverrides } from '@paseo/server' import type { CliConfigOverrides } from '@getpaseo/server'
interface StartOptions { interface StartOptions {
port?: string port?: string
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import { resolvePaseoHome } from '@paseo/server' import { resolvePaseoHome } from '@getpaseo/server'
import { tryConnectToDaemon, getDaemonHost } from '../../utils/client.js' import { tryConnectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentPermissionRequest } from '@paseo/server' import type { AgentPermissionRequest } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentPermissionRequest } from '@paseo/server' import type { AgentPermissionRequest } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, CommandError } from '../../output/index.js'
import { permitResponseSchema, type PermissionResponseItem } from './allow.js' import { permitResponseSchema, type PermissionResponseItem } from './allow.js'
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Command } from 'commander' import type { Command } from 'commander'
import type { AgentPermissionRequest, AgentSnapshotPayload } from '@paseo/server' import type { AgentPermissionRequest, AgentSnapshotPayload } from '@getpaseo/server'
import { connectToDaemon, getDaemonHost } from '../../utils/client.js' import { connectToDaemon, getDaemonHost } from '../../utils/client.js'
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js' import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
+1 -1
View File
@@ -1,4 +1,4 @@
import { DaemonClient } from '@paseo/server' import { DaemonClient } from '@getpaseo/server'
import WebSocket from 'ws' import WebSocket from 'ws'
export interface ConnectOptions { export interface ConnectOptions {
+1 -1
View File
@@ -1,4 +1,4 @@
// CLI exports for @paseo/server // CLI exports for @getpaseo/server
export { createPaseoDaemon, type PaseoDaemon, type PaseoDaemonConfig } from "./bootstrap.js"; export { createPaseoDaemon, type PaseoDaemon, type PaseoDaemonConfig } from "./bootstrap.js";
export { loadConfig, type CliConfigOverrides } from "./config.js"; export { loadConfig, type CliConfigOverrides } from "./config.js";
export { resolvePaseoHome } from "./paseo-home.js"; export { resolvePaseoHome } from "./paseo-home.js";