Skip to content

Commit 1b87bf7

Browse files
committed
fix(release): use the existing miaopan npm scope
1 parent e1f5a32 commit 1b87bf7

176 files changed

Lines changed: 414 additions & 414 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.miaopan-code/plugins/tui-smoke.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useTerminalDimensions, type JSX } from "@opentui/solid"
33
import { useBindings, useKeymapSelector } from "@opentui/keymap/solid"
44
import { RGBA, VignetteEffect, type KeyEvent, type Renderable } from "@opentui/core"
55
import { createBindingLookup, type BindingConfig } from "@opentui/keymap/extras"
6-
import type { TuiPlugin, TuiPluginApi, TuiPluginMeta, TuiPluginModule, TuiSlotPlugin } from "@miaopan-code/plugin/tui"
6+
import type { TuiPlugin, TuiPluginApi, TuiPluginMeta, TuiPluginModule, TuiSlotPlugin } from "@miaopan/plugin/tui"
77

88
const tabs = ["overview", "counter", "help"]
99
const command = {

‎.miaopan-code/tool/github-pr-search.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// <reference path="../env.d.ts" />
2-
import { tool } from "@miaopan-code/plugin"
2+
import { tool } from "@miaopan/plugin"
33
async function githubFetch(endpoint: string, options: RequestInit = {}) {
44
const response = await fetch(`https://api.github.com${endpoint}`, {
55
...options,

‎CONTEXT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ _避免使用:Response envelope(响应信封)_
133133
- Promise SDK 返回带类型的值、保留声明的失败,并将传输选项与领域输入分开。
134134
- Promise streaming 方法返回惰性的 `AsyncIterable`,传输断开时显式失败;重新订阅策略由调用方负责。
135135
- SDK 构造同步且不访问网络。它需要 `baseUrl`,默认使用 `globalThis.fetch`,并接受客户端级 headers。
136-
- 生成的 Promise 客户端从 `@miaopan-code/sdk` 发布,并由 CLI 和 TUI 内部使用。
136+
- 生成的 Promise 客户端从 `@miaopan/sdk` 发布,并由 CLI 和 TUI 内部使用。
137137
- SDK 通过公开 HTTP 边界保留 Server 的 routing、codec、handler 和 error;它不承载进程内服务器。
138138
- 面向 CLI 和 TUI 的能力必须属于权威公开 `HttpApi` 及其生成的 SDK。
139139
- `sessions.events({ sessionID, after })` 是公开的持久化 Session event stream。它先验证 Session,重放可选 aggregate sequence 之后的持久化事件,继续发送新提交的持久化事件,并排除仅实时片段。

‎CONTRIBUTING.en.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Replace `<platform>` with your platform (e.g., `darwin-arm64`, `linux-x64`).
7979
- `packages/miaopan-code`: miaopan-code core business logic & server.
8080
- `packages/miaopan-code/src/cli/cmd/tui/`: The TUI code, written in SolidJS with [opentui](https://github.com/sst/opentui)
8181
- `packages/tui`: The terminal UI, written in SolidJS with [opentui](https://github.com/sst/opentui)
82-
- `packages/plugin`: Source for `@miaopan-code/plugin`
82+
- `packages/plugin`: Source for `@miaopan/plugin`
8383

8484
### Understanding bun dev vs miaopan-code
8585

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bun dev .
7878
- `packages/miaopan-code`:miaopan-code 核心业务逻辑和服务器。
7979
- `packages/miaopan-code/src/cli/cmd/tui/`:TUI 代码,使用 SolidJS 和 [opentui](https://github.com/sst/opentui) 编写。
8080
- `packages/tui`:终端 UI,使用 SolidJS 和 [opentui](https://github.com/sst/opentui) 编写。
81-
- `packages/plugin`:`@miaopan-code/plugin` 的源代码。
81+
- `packages/plugin`:`@miaopan/plugin` 的源代码。
8282

8383
### 理解 bun dev 与 miaopan-code
8484

‎bun.lock‎

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"dependencies": {
7474
"@miaopan-code/script": "workspace:*",
75-
"@miaopan-code/sdk": "workspace:*"
75+
"@miaopan/sdk": "workspace:*"
7676
},
7777
"repository": {
7878
"type": "git",

‎packages/core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@miaopan-code/effect-sqlite-node": "workspace:*",
9393
"@miaopan-code/llm": "workspace:*",
9494
"@miaopan-code/schema": "workspace:*",
95-
"@miaopan-code/plugin": "workspace:*",
95+
"@miaopan/plugin": "workspace:*",
9696
"@opentelemetry/api": "1.9.0",
9797
"@opentelemetry/context-async-hooks": "2.6.1",
9898
"@opentelemetry/exporter-trace-otlp-http": "0.214.0",

‎packages/core/src/config/plugin/external.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export * as ConfigExternalPlugin from "./external"
22

3-
import type { Plugin as EffectPlugin } from "@miaopan-code/plugin/v2/effect"
4-
import type { Plugin as PromisePlugin } from "@miaopan-code/plugin/v2/promise"
3+
import type { Plugin as EffectPlugin } from "@miaopan/plugin/v2/effect"
4+
import type { Plugin as PromisePlugin } from "@miaopan/plugin/v2/promise"
55
import { Effect, Schema } from "effect"
66
import path from "path"
77
import { fileURLToPath, pathToFileURL } from "url"

‎packages/core/src/plugin.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export * as PluginV2 from "./plugin"
22

33
import { makeLocationNode } from "./effect/app-node"
44
import { Context, Deferred, Effect, Exit, Layer, Scope } from "effect"
5-
import type { Plugin as PluginRuntime } from "@miaopan-code/plugin/v2/effect"
5+
import type { Plugin as PluginRuntime } from "@miaopan/plugin/v2/effect"
66
import { Plugin } from "@miaopan-code/schema/plugin"
77
import { AgentV2 } from "./agent"
88
import { AISDK } from "./aisdk"

0 commit comments

Comments
 (0)