@mablhq/mabl-cli 2.129.24 → 2.129.26
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/_bundled/@mablhq/test-model/editing/encodeInlineSnippetBodies.d.ts +4 -0
- package/_bundled/@mablhq/test-model/editing/encodeInlineSnippetBodies.d.ts.map +1 -0
- package/_bundled/{@mablhq-internal/runtime/trainer/generation → @mablhq/test-model/editing}/encodeInlineSnippetBodies.js +13 -5
- package/_bundled/@mablhq/test-model/editing/index.d.ts +1 -0
- package/_bundled/@mablhq/test-model/editing/index.d.ts.map +1 -1
- package/_bundled/@mablhq/test-model/editing/index.js +4 -1
- package/_bundled/@mablhq-internal/mobile-runtime/package.json +1 -1
- package/_bundled/@mablhq-internal/runtime/execution/index.js +1 -1
- package/_bundled/@mablhq-internal/runtime/package.json +1 -1
- package/_bundled/@mablhq-internal/runtime/trainer/generation/applyStepEdits.js +1 -2
- package/commands/agent-instructions/agent-instructions_cmds/create.js +2 -2
- package/commands/agent-instructions/agent-instructions_cmds/update.js +1 -1
- package/execution/index.js +1 -1
- package/package.json +1 -1
- package/trainer/generation/applyStepEdits.js +1 -2
- package/trainer/generation/encodeInlineSnippetBodies.js +0 -44
|
@@ -7,7 +7,6 @@ const stepSerialization_1 = require("../sharedUtils/mablscript/stepSerialization
|
|
|
7
7
|
const variableCanonical_1 = require("@mablhq/test-model/variableCanonical");
|
|
8
8
|
const editing_1 = require("@mablhq/test-model/editing");
|
|
9
9
|
const validator_1 = require("@mablhq/test-model/validator");
|
|
10
|
-
const encodeInlineSnippetBodies_1 = require("./encodeInlineSnippetBodies");
|
|
11
10
|
const sessionFlowResolution_1 = require("../sharedUtils/sessionFlowResolution");
|
|
12
11
|
function serializeStepsToJson(steps, variables) {
|
|
13
12
|
const aliasedVariables = (0, variableCanonical_1.aliasVariables)(variables);
|
|
@@ -30,7 +29,7 @@ function applyStepEditsToSteps(input) {
|
|
|
30
29
|
const { steps, variables, snippetsByInvariantId, capturedSelectors, allowAuthoredFinds, editOps, } = input;
|
|
31
30
|
const currentJson = serializeStepsToJson(steps, variables);
|
|
32
31
|
const normalizedOps = allowAuthoredFinds
|
|
33
|
-
? (0,
|
|
32
|
+
? (0, editing_1.encodeInlineSnippetBodies)((0, editing_1.normalizeElementFinds)((0, editing_1.normalizeStepTypeKeys)(editOps)))
|
|
34
33
|
: editOps;
|
|
35
34
|
const presenceCleanup = allowAuthoredFinds
|
|
36
35
|
? (0, editing_1.stripInertPresenceAttribute)(normalizedOps)
|
|
@@ -23,11 +23,11 @@ exports.builder = (yargs) => {
|
|
|
23
23
|
})
|
|
24
24
|
.option(constants_2.CommandArgInstructionText, {
|
|
25
25
|
demandOption: true,
|
|
26
|
-
describe: 'The instruction text (max
|
|
26
|
+
describe: 'The instruction text (max 2000 characters)',
|
|
27
27
|
type: 'string',
|
|
28
28
|
})
|
|
29
29
|
.option(constants_2.CommandArgCapabilities, {
|
|
30
|
-
describe: 'Capabilities to scope to (authoring,
|
|
30
|
+
describe: 'Capabilities to scope to (authoring, results_analysis)',
|
|
31
31
|
type: 'array',
|
|
32
32
|
})
|
|
33
33
|
.option(constants_2.CommandArgApplicationIds, {
|
|
@@ -22,7 +22,7 @@ exports.builder = (yargs) => {
|
|
|
22
22
|
type: 'string',
|
|
23
23
|
})
|
|
24
24
|
.option(constants_2.CommandArgCapabilities, {
|
|
25
|
-
describe: 'Updated capabilities (authoring,
|
|
25
|
+
describe: 'Updated capabilities (authoring, results_analysis)',
|
|
26
26
|
type: 'array',
|
|
27
27
|
})
|
|
28
28
|
.option(constants_2.CommandArgApplicationIds, {
|