thincoder 0.12.79 → 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 +6 -0
- package/package.json +2 -2
- package/src/command-table.mjs +5 -0
package/CHANGELOG.md
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
|