@commandgarden/cli 2.9.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/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
package/dist/main.js
CHANGED
|
@@ -12206,7 +12206,7 @@ import { readFileSync as readFileSync8 } from "fs";
|
|
|
12206
12206
|
import { homedir } from "os";
|
|
12207
12207
|
import { fileURLToPath } from "url";
|
|
12208
12208
|
|
|
12209
|
-
//
|
|
12209
|
+
// node_modules/@commandgarden/shared/dist/capabilities.js
|
|
12210
12210
|
var CAPABILITIES = [
|
|
12211
12211
|
"navigate",
|
|
12212
12212
|
"cookie_read",
|
|
@@ -16268,7 +16268,7 @@ var coerce = {
|
|
|
16268
16268
|
};
|
|
16269
16269
|
var NEVER = INVALID;
|
|
16270
16270
|
|
|
16271
|
-
//
|
|
16271
|
+
// node_modules/@commandgarden/shared/dist/pipeline.js
|
|
16272
16272
|
var STEP_CAPABILITY_MAP = {
|
|
16273
16273
|
navigate: "navigate",
|
|
16274
16274
|
wait: "navigate",
|
|
@@ -16403,7 +16403,7 @@ var pipelineStepSchema = external_exports.discriminatedUnion("step", [
|
|
|
16403
16403
|
jsEvaluateStepSchema
|
|
16404
16404
|
]);
|
|
16405
16405
|
|
|
16406
|
-
//
|
|
16406
|
+
// node_modules/@commandgarden/shared/dist/connector.js
|
|
16407
16407
|
var capabilityEnum = external_exports.enum(CAPABILITIES);
|
|
16408
16408
|
var connectorArgSchema = external_exports.object({
|
|
16409
16409
|
name: external_exports.string(),
|
|
@@ -16433,7 +16433,7 @@ var connectorSchema = external_exports.object({
|
|
|
16433
16433
|
pipeline: external_exports.array(pipelineStepSchema).min(1)
|
|
16434
16434
|
});
|
|
16435
16435
|
|
|
16436
|
-
//
|
|
16436
|
+
// node_modules/@commandgarden/shared/dist/loader.js
|
|
16437
16437
|
var import_yaml = __toESM(require_dist(), 1);
|
|
16438
16438
|
function parseConnectorYaml(yamlContent) {
|
|
16439
16439
|
let parsed;
|
|
@@ -16519,10 +16519,10 @@ function validateConnectorSemantics(connector) {
|
|
|
16519
16519
|
return errors;
|
|
16520
16520
|
}
|
|
16521
16521
|
|
|
16522
|
-
//
|
|
16522
|
+
// node_modules/@commandgarden/shared/dist/events.js
|
|
16523
16523
|
import { randomUUID } from "crypto";
|
|
16524
16524
|
|
|
16525
|
-
//
|
|
16525
|
+
// node_modules/@commandgarden/shared/dist/daemon-client.js
|
|
16526
16526
|
import { readFileSync } from "fs";
|
|
16527
16527
|
function readToken(tokenPath) {
|
|
16528
16528
|
try {
|
|
@@ -6826,7 +6826,9 @@ var BUILT_IN_FILTERS = {
|
|
|
6826
6826
|
if (map2 == null || typeof map2 !== "object")
|
|
6827
6827
|
return void 0;
|
|
6828
6828
|
return map2[String(value)];
|
|
6829
|
-
}
|
|
6829
|
+
},
|
|
6830
|
+
slice: (value, start, end) => String(value).slice(Number(start), end != null ? Number(end) : void 0),
|
|
6831
|
+
replace: (value, search, replacement) => String(value).replace(String(search), String(replacement ?? ""))
|
|
6830
6832
|
};
|
|
6831
6833
|
|
|
6832
6834
|
// ../shared/dist/expression/evaluator.js
|