@share-crm/sharedev-cli 0.0.5-rc.2 → 0.0.5-rc.2.test.0
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/dist/sharedev.js +4 -2
- package/package.json +1 -1
package/dist/sharedev.js
CHANGED
|
@@ -15739,6 +15739,8 @@ async function executeOnce(session, commandKey, args, flags, onTraceId) {
|
|
|
15739
15739
|
headers: await buildCommandHeaders(session),
|
|
15740
15740
|
body: JSON.stringify({
|
|
15741
15741
|
commandKey,
|
|
15742
|
+
// 与 FHH shareCli/execute 保持同一 Agent 渠道标记,供操作中心路由和统计使用。
|
|
15743
|
+
agentChannels: ['share_dev'],
|
|
15742
15744
|
arguments: args ?? {},
|
|
15743
15745
|
...(flags?.length ? { flags } : {})
|
|
15744
15746
|
})
|
|
@@ -51720,8 +51722,8 @@ async function readCliPackageMeta() {
|
|
|
51720
51722
|
? "@share-crm/sharedev-cli".trim()
|
|
51721
51723
|
: '@share-crm/sharedev-cli';
|
|
51722
51724
|
const debugEnabled = true && Boolean(false);
|
|
51723
|
-
const rawVersion = ( true && "0.0.5-rc.2".trim())
|
|
51724
|
-
? "0.0.5-rc.2".trim()
|
|
51725
|
+
const rawVersion = ( true && "0.0.5-rc.2.test.0".trim())
|
|
51726
|
+
? "0.0.5-rc.2.test.0".trim()
|
|
51725
51727
|
: '0.0.0';
|
|
51726
51728
|
const version = rawVersion + (debugEnabled ? '-debug' : '');
|
|
51727
51729
|
return { name, version };
|