thincoder 0.12.78 → 0.12.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/command-table.mjs +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [0.12.80] — 2026-10-26
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- **升级核到 `0.10.13`**:承载「模型请求带产品身份头」。CLI 在 `src/command-table.mjs` 顶部声明自己的端与版本(每个命令都过的分发点——不是 `tui/startup.mjs`,那条会漏 headless ∥ ACP ∥ distill ∥ embedding 四条模型路径)。
|
|
6
|
+
|
|
7
|
+
## [0.12.79] — 2026-10-26
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **升级核到 `0.10.12`**:承载「台账无根抛明(不再静默空集)」与「多根工作区下建批档报明项目」两项行为变化。
|
|
12
|
+
|
|
1
13
|
## [0.12.78] — 2026-10-25
|
|
2
14
|
|
|
3
15
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thincoder",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.80",
|
|
4
4
|
"description": "Thin coding agent - zero third-party dependencies, no build step, Node.js native. Sharp code, zero bloat.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"node": ">=24"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@thincoder/core": "^0.10.
|
|
23
|
+
"@thincoder/core": "^0.10.13"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"bin/",
|
package/src/command-table.mjs
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { readFileSync } from "node:fs"
|
|
9
9
|
import { isAbsolute, join } from "node:path"
|
|
10
10
|
import { loadConfig } from "@thincoder/core/config.mjs"
|
|
11
|
+
import { setClientIdentity } from "@thincoder/core/client-identity.mjs"
|
|
11
12
|
import { createMemory, syncDir } from "@thincoder/core/memory.mjs"
|
|
12
13
|
import { teamConfig } from "./cli/make-agent.mjs"
|
|
13
14
|
import { memoryCommand } from "./cli/memory-command.mjs"
|
|
@@ -15,6 +16,10 @@ import { distillCommand } from "./cli/distill-command.mjs"
|
|
|
15
16
|
import { chatCommand, tuiCommand, acpCommand } from "./command-interactive.mjs"
|
|
16
17
|
import { teamCommand } from "./cli/team-command.mjs"
|
|
17
18
|
|
|
19
|
+
// 客户端标识声明(PROVIDER.md §6.17):本端进程启动期一次——落点 = 每个命令都过的分发点(headless ∥ ACP ∥ distill ∥ embedding 四条模型路径都不经 `tui/startup.mjs`)。
|
|
20
|
+
const CLI_VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version
|
|
21
|
+
setClientIdentity({ surface: "cli", version: CLI_VERSION })
|
|
22
|
+
|
|
18
23
|
/** 命令分发(原 `bin/thincoder.mjs` 顶层 switch 骨架逐字搬移——命令行为零改)。 */
|
|
19
24
|
export async function runCommandTable(command, args, ctx) {
|
|
20
25
|
const { usage, version, exitSoon } = ctx
|