mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
chore(daemon): remove unused daemon package and stale references (#852)
- delete packages/daemon package.json - drop daemon from flake.nix workspace paths/names and pnpm-lock.yaml - remove dead daemon-e2e Dockerfile gitignore negation - update stale daemon references in DiffView and PromptDispatchLogEntry comments
This commit is contained in:
parent
9a8fea5c85
commit
31f9024046
8 changed files with 4 additions and 16 deletions
|
|
@ -29,7 +29,6 @@ All other workspace packages are private internal packages, are not published to
|
|||
- `@moonshot-ai/vis`
|
||||
- `@moonshot-ai/vis-server`
|
||||
- `@moonshot-ai/vis-web`
|
||||
- `daemon`
|
||||
- `kimi-migration-legacy`
|
||||
|
||||
Version impact from internal dependencies must be judged manually. The published artifacts for CLI and SDK bundle internal workspace packages into the artifact itself; runtime `dependencies` of published packages must not include any `@moonshot-ai/*` internal workspace packages.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
"@moonshot-ai/vis",
|
||||
"@moonshot-ai/vis-server",
|
||||
"@moonshot-ai/vis-web",
|
||||
"daemon",
|
||||
"kimi-migration-legacy"
|
||||
],
|
||||
"snapshot": {
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -17,7 +17,6 @@ superpowers
|
|||
.worktrees/
|
||||
|
||||
Dockerfile
|
||||
!packages/daemon-e2e/Dockerfile
|
||||
docker-compose.yml
|
||||
.dockerignore
|
||||
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ function badgeGlyph(s: string): string {
|
|||
|
||||
/**
|
||||
* Truncate a long path from the left, showing the tail.
|
||||
* e.g. "packages/daemon/src/middleware/schema.ts" → "…leware/schema.ts"
|
||||
* e.g. "packages/agent-core/src/services/session/sessionService.ts" → "…sion/sessionService.ts"
|
||||
*/
|
||||
function truncateLeft(path: string, maxLen = 60): string {
|
||||
if (path.length <= maxLen) return path;
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@
|
|||
workspacePaths = [
|
||||
./packages/acp-adapter
|
||||
./packages/agent-core
|
||||
./packages/daemon
|
||||
./packages/server
|
||||
./packages/server-e2e
|
||||
./packages/kaos
|
||||
|
|
@ -100,7 +99,6 @@
|
|||
"@moonshot-ai/vis"
|
||||
"@moonshot-ai/vis-server"
|
||||
"@moonshot-ai/vis-web"
|
||||
"daemon"
|
||||
"kimi-code-docs"
|
||||
"kimi-migration-legacy"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -350,9 +350,9 @@ export interface AgentStateSnapshot {
|
|||
* One dispatch record appended to the per-session ring buffer whenever
|
||||
* `PromptService._applyAgentState` actually issues a setter RPC against
|
||||
* `core.rpc.*`. Absence of an entry between two prompts proves the
|
||||
* shadow suppressed a redundant call — which is the property
|
||||
* `daemon-e2e` scenarios need to assert directly, since WS frames
|
||||
* alone can't distinguish "state held" from "setter re-dispatched".
|
||||
* shadow suppressed a redundant call — letting tests assert "state held"
|
||||
* versus "setter re-dispatched", since WS frames alone can't distinguish
|
||||
* the two.
|
||||
*/
|
||||
export interface PromptDispatchLogEntry {
|
||||
/** ISO-8601 timestamp captured immediately after the setter resolves. */
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name": "daemon",
|
||||
"version": "0.0.0",
|
||||
"private": true
|
||||
}
|
||||
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
|
|
@ -439,8 +439,6 @@ importers:
|
|||
specifier: ^3.3.1
|
||||
version: 3.3.1
|
||||
|
||||
packages/daemon: {}
|
||||
|
||||
packages/kaos:
|
||||
dependencies:
|
||||
pathe:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue