mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
chore: align server package name for workspaces
This commit is contained in:
28
package-lock.json
generated
28
package-lock.json
generated
@@ -7,6 +7,7 @@
|
||||
"": {
|
||||
"name": "paseo",
|
||||
"version": "1.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"packages/server",
|
||||
@@ -4728,6 +4729,14 @@
|
||||
"integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
|
||||
"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": {
|
||||
"version": "5.2.6",
|
||||
"resolved": "https://registry.npmjs.org/@gorhom/bottom-sheet/-/bottom-sheet-5.2.6.tgz",
|
||||
@@ -6699,10 +6708,6 @@
|
||||
"resolved": "packages/app",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@paseo/cli": {
|
||||
"resolved": "packages/cli",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@paseo/desktop": {
|
||||
"resolved": "packages/desktop",
|
||||
"link": true
|
||||
@@ -6711,10 +6716,6 @@
|
||||
"resolved": "packages/relay",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@paseo/server": {
|
||||
"resolved": "packages/server",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@paseo/website": {
|
||||
"resolved": "packages/website",
|
||||
"link": true
|
||||
@@ -26280,8 +26281,7 @@
|
||||
},
|
||||
"packages/app": {
|
||||
"name": "@paseo/app",
|
||||
"version": "1.0.0",
|
||||
"hasInstallScript": true,
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@boudra/expo-two-way-audio": "^0.1.3",
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
@@ -26289,6 +26289,7 @@
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@expo/vector-icons": "^15.0.2",
|
||||
"@floating-ui/react-native": "^0.10.7",
|
||||
"@getpaseo/server": "*",
|
||||
"@gorhom/bottom-sheet": "^5.2.6",
|
||||
"@gorhom/portal": "^1.0.14",
|
||||
"@lezer/common": "^1.5.0",
|
||||
@@ -26299,7 +26300,6 @@
|
||||
"@lezer/json": "^1.0.3",
|
||||
"@lezer/markdown": "^1.6.2",
|
||||
"@lezer/python": "^1.1.18",
|
||||
"@paseo/server": "*",
|
||||
"@react-native-async-storage/async-storage": "2.2.0",
|
||||
"@react-navigation/bottom-tabs": "^7.4.0",
|
||||
"@react-navigation/elements": "^2.6.3",
|
||||
@@ -26391,10 +26391,10 @@
|
||||
}
|
||||
},
|
||||
"packages/cli": {
|
||||
"name": "@paseo/cli",
|
||||
"name": "@getpaseo/cli",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@paseo/server": "*",
|
||||
"@getpaseo/server": "*",
|
||||
"chalk": "^5.3.0",
|
||||
"commander": "^12.0.0",
|
||||
"mime-types": "^2.1.35",
|
||||
@@ -26472,7 +26472,7 @@
|
||||
}
|
||||
},
|
||||
"packages/server": {
|
||||
"name": "@paseo/server",
|
||||
"name": "@getpaseo/server",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@ai-sdk/openai": "^2.0.52",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"test": "npm run test --workspaces --if-present",
|
||||
"format": "prettier --write .",
|
||||
"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:release": "ANDROID_VARIANT=productionRelease npm run android --workspace=@paseo/app",
|
||||
"android:dev-release": "ANDROID_VARIANT=devRelease npm run android --workspace=@paseo/app",
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"@lezer/json": "^1.0.3",
|
||||
"@lezer/markdown": "^1.6.2",
|
||||
"@lezer/python": "^1.1.18",
|
||||
"@paseo/server": "*",
|
||||
"@getpaseo/server": "*",
|
||||
"@react-native-async-storage/async-storage": "2.2.0",
|
||||
"@react-navigation/bottom-tabs": "^7.4.0",
|
||||
"@react-navigation/elements": "^2.6.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import stripAnsi from "strip-ansi";
|
||||
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";
|
||||
|
||||
const TOOL_CALL_DIFF_LOG_TAG = "[ToolCallDiff]";
|
||||
@@ -1340,4 +1340,4 @@ export {
|
||||
stripCwdPrefix,
|
||||
extractTodos,
|
||||
type TodoItem,
|
||||
} from "@paseo/server/utils/tool-call-parsers";
|
||||
} from "@getpaseo/server/utils/tool-call-parsers";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Scope
|
||||
- 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`.
|
||||
|
||||
## Server Exports (current)
|
||||
@@ -22,7 +22,7 @@ Inline types:
|
||||
- `AgentSnapshot` (id/provider/cwd/createdAt/status/title)
|
||||
|
||||
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:
|
||||
- `AgentRunResult` is CLI output; no server type expected.
|
||||
@@ -136,8 +136,8 @@ Inline types:
|
||||
Server type usage:
|
||||
- CLI-only; no server type expected.
|
||||
|
||||
## Gaps in `@paseo/server` Exports (needed for CLI cleanup)
|
||||
To replace inline types in CLI commands, `@paseo/server` would need to export (directly or re-export):
|
||||
## Gaps in `@getpaseo/server` Exports (needed for CLI cleanup)
|
||||
To replace inline types in CLI commands, `@getpaseo/server` would need to export (directly or re-export):
|
||||
- From `packages/server/src/shared/messages.ts`:
|
||||
- `AgentSnapshotPayload`
|
||||
- `AgentStreamEventPayload`
|
||||
@@ -152,4 +152,4 @@ To replace inline types in CLI commands, `@paseo/server` would need to export (d
|
||||
- `AgentTimelineItem`
|
||||
|
||||
## 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`.
|
||||
|
||||
@@ -6,7 +6,7 @@ import type {
|
||||
AgentStreamSnapshotMessage,
|
||||
AgentStreamEventPayload,
|
||||
AgentTimelineItem,
|
||||
} from '@paseo/server'
|
||||
} from '@getpaseo/server'
|
||||
|
||||
export interface AgentAttachOptions {
|
||||
host?: string
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import type {
|
||||
AgentStreamMessage,
|
||||
AgentStreamSnapshotMessage,
|
||||
AgentTimelineItem,
|
||||
} from '@paseo/server'
|
||||
import { curateAgentActivity } from '@paseo/server'
|
||||
} from '@getpaseo/server'
|
||||
import { curateAgentActivity } from '@getpaseo/server'
|
||||
|
||||
export interface AgentLogsOptions extends CommandOptions {
|
||||
follow?: boolean
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import type {
|
||||
CommandError,
|
||||
AnyCommandResult,
|
||||
} from '../../output/index.js'
|
||||
import type { AgentMode } from '@paseo/server'
|
||||
import type { AgentMode } from '@getpaseo/server'
|
||||
|
||||
/** Result for setting mode */
|
||||
export interface SetModeResult {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, SingleResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
import { readFileSync } from 'node:fs'
|
||||
|
||||
@@ -6,8 +6,8 @@ import {
|
||||
resolvePaseoHome,
|
||||
createRootLogger,
|
||||
loadPersistedConfig,
|
||||
} from '@paseo/server'
|
||||
import type { CliConfigOverrides } from '@paseo/server'
|
||||
} from '@getpaseo/server'
|
||||
import type { CliConfigOverrides } from '@getpaseo/server'
|
||||
|
||||
interface StartOptions {
|
||||
port?: string
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Command } from 'commander'
|
||||
import { resolvePaseoHome } from '@paseo/server'
|
||||
import { resolvePaseoHome } from '@getpaseo/server'
|
||||
import { tryConnectToDaemon, getDaemonHost } from '../../utils/client.js'
|
||||
import type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, ListResult, CommandError } from '../../output/index.js'
|
||||
import { permitResponseSchema, type PermissionResponseItem } from './allow.js'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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 type { CommandOptions, ListResult, OutputSchema, CommandError } from '../../output/index.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DaemonClient } from '@paseo/server'
|
||||
import { DaemonClient } from '@getpaseo/server'
|
||||
import WebSocket from 'ws'
|
||||
|
||||
export interface ConnectOptions {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// CLI exports for @paseo/server
|
||||
// CLI exports for @getpaseo/server
|
||||
export { createPaseoDaemon, type PaseoDaemon, type PaseoDaemonConfig } from "./bootstrap.js";
|
||||
export { loadConfig, type CliConfigOverrides } from "./config.js";
|
||||
export { resolvePaseoHome } from "./paseo-home.js";
|
||||
|
||||
Reference in New Issue
Block a user