@commandgarden/cli 2.8.0 → 2.10.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/main.js +6 -6
- package/node_modules/@commandgarden/app/dist/client/assets/{Slides-Dox8f5zS.js → Slides-D3xcxd9t.js} +1 -1
- package/node_modules/@commandgarden/app/dist/client/assets/{index-tU8HCc9V.js → index-_jNYPoLF.js} +2 -2
- package/node_modules/@commandgarden/app/dist/client/index.html +1 -1
- package/node_modules/@commandgarden/chrome/dist/manifest.json +1 -1
- package/node_modules/@commandgarden/chrome/dist/service-worker.js +3 -1
- package/node_modules/@commandgarden/chrome/dist/service-worker.js.map +2 -2
- package/node_modules/@commandgarden/chrome/package.json +1 -1
- package/node_modules/@commandgarden/daemon/connectors/gcs-kb-content.yaml +6 -3
- package/node_modules/@commandgarden/daemon/connectors/gcs-kb-pages.yaml +7 -0
- package/node_modules/@commandgarden/shared/dist/expression/filters.d.ts.map +1 -1
- package/node_modules/@commandgarden/shared/dist/expression/filters.js +2 -0
- package/node_modules/@commandgarden/shared/dist/expression/filters.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ args:
|
|
|
14
14
|
- name: path
|
|
15
15
|
type: string
|
|
16
16
|
required: true
|
|
17
|
-
help: "Page path
|
|
18
|
-
pattern: "
|
|
17
|
+
help: "Page path — full (gcs/KB/docs/general-security/edr/) or short (general-security/edr/)"
|
|
18
|
+
pattern: "^(gcs/KB/docs/)?[a-zA-Z0-9_.][a-zA-Z0-9_./-]*$"
|
|
19
19
|
|
|
20
20
|
columns:
|
|
21
21
|
- name: title
|
|
@@ -30,8 +30,11 @@ columns:
|
|
|
30
30
|
type: string
|
|
31
31
|
|
|
32
32
|
pipeline:
|
|
33
|
+
- step: set
|
|
34
|
+
name: normalizedPath
|
|
35
|
+
value: "${{ args.path | replace('gcs/KB/docs/', '') }}"
|
|
33
36
|
- step: navigate
|
|
34
|
-
url: "https://pages.i.mercedes-benz.com
|
|
37
|
+
url: "https://pages.i.mercedes-benz.com/gcs/KB/docs/${{ vars.normalizedPath }}"
|
|
35
38
|
- step: wait
|
|
36
39
|
selector: "article"
|
|
37
40
|
timeout: 30000
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/expression/filters.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAEvE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/expression/filters.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAEvE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAcrD,CAAC"}
|
|
@@ -9,5 +9,7 @@ export const BUILT_IN_FILTERS = {
|
|
|
9
9
|
return undefined;
|
|
10
10
|
return map[String(value)];
|
|
11
11
|
},
|
|
12
|
+
slice: (value, start, end) => String(value).slice(Number(start), end != null ? Number(end) : undefined),
|
|
13
|
+
replace: (value, search, replacement) => String(value).replace(String(search), String(replacement ?? '')),
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=filters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../src/expression/filters.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACxD,OAAO,EAAE,CAAC,KAAc,EAAE,QAAiB,EAAE,EAAE,CAAC,KAAK,IAAI,QAAQ;IACjE,MAAM,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK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