@x1a0f3n9/dsh-cmdline 0.1.2-alpha.6 → 0.1.5-alpha.2

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/boot/cmdline/README.md
5
- README.md: 2025cbdf3c32df3c6b750cfb6e160760b2835d03
6
- README.zh.md: 6b1ef59b3557fe00d1b2e583e095563d60355dfa
5
+ README.md: f0c6636b342d856b44c9d5eaffbbd4657f3e88ae
6
+ README.zh.md: 31246ada165bad830bf2f5808fe9c6e1ad91d7cb
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-cmdline` lets your app own its command line: the launcher keeps only its own flags (`--profile`, `--patch`, the config dumps) and passes everything after them to your app verbatim, so your app decides its flags, its `--help` text, and its parse errors. Values you parse from those arguments win over any default written in the config, without writing anything back. Your app also gets a bounded way to ask for process exit, wired to the launcher's shutdown. Use it when you write an app bin that accepts its own flags; it adds no prompt, schema, or model-facing surface of its own.
12
+ `dsh-cmdline` lets an app parse its own flags, `--help`, and errors from the arguments left unchanged after launcher flags. Parsed values can override configuration defaults without rewriting configuration. The app can also request process exit through the launcher's shutdown path. Use this package for app bins with their own command-line interface. It adds no prompt, schema, or model-visible content.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -106,10 +106,8 @@ The parse path is one small family with two owners: `provideCmdline` freezes the
106
106
  <a id="further-exploration"></a>
107
107
  ## Further Exploration
108
108
 
109
- Read these pages when the package-level contract is not enough. They move from the handoff mechanism to the apps that consume it and the decisions behind it.
109
+ Read these pages when the package-level contract is not enough. They move from the handoff mechanism to the apps that consume it.
110
110
 
111
- - [App-owned command-line decision](../../../.agents/notes/implemented/architecture/2026-08-06-app-owned-command-line.md) — why apps own their flag family and how the handoff works.
112
- - [Command-line seam trim](../../../.agents/notes/implemented/architecture/2026-08-11-cmdline-seam-trim.md) — the seams reduced to existing interfaces.
113
111
  - [dsh-app-boot](../app-boot/README.md) — the boot sequence that provides these launcher values.
114
112
  - [dsh-web-app bundle](../../bundle/web-app/README.md) — an app that owns the Web flag family through this package.
115
113
  - [dsh-headless bundle](../../bundle/headless/README.md) — the one-shot runner that reads its task from the command line.
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-library"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-cmdline` 让你的应用持有自己的命令行:启动器只保留属于自己的 flag(`--profile`、`--patch`、配置 dump),并把**其后的一切**原样交给你的应用,因此 flag、`--help` 文本与解析错误都由你的应用决定。你从这些参数解析出的值会胜过配置中写下的任何默认值,且无需写回任何内容。你的应用还获得一个有边界的进程退出请求,接到启动器的关停上。当你编写接受自有 flag 的应用 bin 时使用它;它本身不增加任何提示词、schema 或面向模型的表面。
12
+ `dsh-cmdline` 让应用从启动器 flag 之后原样留下的参数中解析自己的 flag、`--help` 与错误。解析值可以覆盖配置默认值,而无需改写配置。应用还可以通过启动器的关停路径请求进程退出。适用于拥有自有命令行界面的应用 bin。它不增加提示词、schema 或模型可见内容。
13
13
 
14
14
  ## 目录
15
15
 
@@ -106,10 +106,8 @@ kind: "package-library"
106
106
  <a id="further-exploration"></a>
107
107
  ## 进一步探索
108
108
 
109
- 当包级约定不够用时阅读以下页面。它们从交接机制逐步进入消费它的应用及其背后的决策。
109
+ 当包级约定不够用时阅读以下页面。它们从交接机制逐步进入消费它的应用。
110
110
 
111
- - [应用持有命令行决策](../../../.agents/notes/implemented/architecture/2026-08-06-app-owned-command-line.zh.md)——为什么 flag 家族由应用持有,以及交接如何运作。
112
- - [命令行 seam 精简](../../../.agents/notes/implemented/architecture/2026-08-11-cmdline-seam-trim.zh.md)——缩减到既有接口的各 seam。
113
111
  - [dsh-app-boot](../app-boot/README.zh.md)——提供这些启动器值的启动序列。
114
112
  - [dsh-web-app 组合包](../../bundle/web-app/README.zh.md)——通过此包持有 Web flag 家族的应用。
115
113
  - [dsh-headless 组合包](../../bundle/headless/README.zh.md)——从命令行读取任务的一次性 runner。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@x1a0f3n9/dsh-cmdline",
3
3
  "description": "Immutable command-line handoff from a dsh launcher to any app plugin that injects cmdlineArgs",
4
- "version": "0.1.2-alpha.6",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "commander": "^15.0.0",
35
35
  "@deepseek-ai/cordis-plugin-include": "^1.0.7",
36
- "@deepseek-ai/cordis": "^4.0.2",
37
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3"
36
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
37
+ "@deepseek-ai/cordis": "^4.0.2"
38
38
  }
39
39
  }