@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 +2 -2
- package/README.md +2 -4
- package/README.zh.md +2 -4
- package/package.json +3 -3
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:
|
|
6
|
-
README.zh.md:
|
|
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
|
|
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
|
|
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`
|
|
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.
|
|
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": "^
|
|
37
|
-
"@deepseek-ai/cordis
|
|
36
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
37
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
38
38
|
}
|
|
39
39
|
}
|