@appilots/cli 0.13.0 → 0.14.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/cli/index.js +36 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +36 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -727,6 +727,9 @@ function sanitisePermissionsObject(obj) {
|
|
|
727
727
|
if (typeof obj.isPii === "boolean") {
|
|
728
728
|
out.isPii = obj.isPii;
|
|
729
729
|
}
|
|
730
|
+
if (typeof obj.assessment === "boolean") {
|
|
731
|
+
out.assessment = obj.assessment;
|
|
732
|
+
}
|
|
730
733
|
if (Array.isArray(obj.blockedActions)) {
|
|
731
734
|
const ids = obj.blockedActions.filter((x) => typeof x === "string" && !!x);
|
|
732
735
|
if (ids.length > 0) out.blockedActions = ids;
|
|
@@ -9555,7 +9558,7 @@ function isSafeImageUrl(value) {
|
|
|
9555
9558
|
// ../shared/dist/chunk-KUMPS6RH.mjs
|
|
9556
9559
|
var SUPPORTED_APPILOTS_LOCALES = ["pt-BR", "en", "es", "fr"];
|
|
9557
9560
|
|
|
9558
|
-
// ../shared/dist/chunk-
|
|
9561
|
+
// ../shared/dist/chunk-4RYPNBBY.mjs
|
|
9559
9562
|
var symbols = external_exports.array(external_exports.string().max(240)).max(12);
|
|
9560
9563
|
var controlEvidenceSchema = external_exports.object({
|
|
9561
9564
|
version: external_exports.literal(1),
|
|
@@ -9772,7 +9775,9 @@ var screenPermissionDescriptorSchema = external_exports.object({
|
|
|
9772
9775
|
agentAccess: external_exports.enum(["read", "write", "none"]).optional(),
|
|
9773
9776
|
requiresConfirmation: external_exports.boolean().optional(),
|
|
9774
9777
|
blockedActions: external_exports.array(external_exports.string()).optional(),
|
|
9775
|
-
isPii: external_exports.boolean().optional()
|
|
9778
|
+
isPii: external_exports.boolean().optional(),
|
|
9779
|
+
/** Graded assessment — see `screenPermissionSchema.assessment`. */
|
|
9780
|
+
assessment: external_exports.boolean().optional()
|
|
9776
9781
|
}).passthrough();
|
|
9777
9782
|
var screenDescriptorSchema = external_exports.object({
|
|
9778
9783
|
name: external_exports.string(),
|
|
@@ -10231,6 +10236,12 @@ var agentContextSchema = external_exports.object({
|
|
|
10231
10236
|
missionId: boundedString(160).optional(),
|
|
10232
10237
|
/** Preferred supported device language, reported by the SDK independently of map/UI labels. */
|
|
10233
10238
|
deviceLocale: external_exports.enum(SUPPORTED_APPILOTS_LOCALES).optional(),
|
|
10239
|
+
/**
|
|
10240
|
+
* Per-session plain-language override (short sentences, no jargon,
|
|
10241
|
+
* numbered steps). Absent → the project's `plainLanguage` setting.
|
|
10242
|
+
* Changes how the reply is WORDED only — see `PLAIN_LANGUAGE_PROMPT`.
|
|
10243
|
+
*/
|
|
10244
|
+
plainLanguage: external_exports.boolean().optional(),
|
|
10234
10245
|
/**
|
|
10235
10246
|
* Client platform this observation was captured on. Optional and
|
|
10236
10247
|
* additive (see `clientPlatformSchema`) — absent means
|
|
@@ -10553,7 +10564,14 @@ var screenPermissionSchema = external_exports.object({
|
|
|
10553
10564
|
agentAccess: agentAccessLevelSchema.optional(),
|
|
10554
10565
|
requiresConfirmation: external_exports.boolean().optional(),
|
|
10555
10566
|
blockedActions: external_exports.array(external_exports.string().min(1)).optional(),
|
|
10556
|
-
isPii: external_exports.boolean().optional()
|
|
10567
|
+
isPii: external_exports.boolean().optional(),
|
|
10568
|
+
/**
|
|
10569
|
+
* Graded assessment (exam, quiz, graded activity). The agent may
|
|
10570
|
+
* explain the screen and navigate away, never write: every action
|
|
10571
|
+
* except navigate/scroll is blocked server-side, and the model is told
|
|
10572
|
+
* to refuse up front instead of trying. Wins over `agentAccess: 'write'`.
|
|
10573
|
+
*/
|
|
10574
|
+
assessment: external_exports.boolean().optional()
|
|
10557
10575
|
}).strict();
|
|
10558
10576
|
external_exports.object({
|
|
10559
10577
|
agentCanWrite: external_exports.boolean(),
|
|
@@ -10561,6 +10579,10 @@ external_exports.object({
|
|
|
10561
10579
|
confirmDestructive: external_exports.boolean(),
|
|
10562
10580
|
/**
|
|
10563
10581
|
* Map of screenName → override. Keys must be non-empty strings.
|
|
10582
|
+
* A key containing `*` or starting with `/` is a PATTERN, matched
|
|
10583
|
+
* case-insensitively against the screen name and the navigation path
|
|
10584
|
+
* (`*Quiz*`; a path key uses `*` per segment, see docs/permissions).
|
|
10585
|
+
* An exact key beats patterns.
|
|
10564
10586
|
* Limited to 200 entries to keep the JSON column small and editable
|
|
10565
10587
|
* in the dashboard table view.
|
|
10566
10588
|
*/
|
|
@@ -10658,6 +10680,13 @@ var imageSourceField = external_exports.string().max(500).refine(isSafeImageUrl,
|
|
|
10658
10680
|
external_exports.object({
|
|
10659
10681
|
/** Tone / persona instructions appended to the system prompt. */
|
|
10660
10682
|
personaPrompt: external_exports.string().max(2048).nullable(),
|
|
10683
|
+
/**
|
|
10684
|
+
* Accessibility: reply in plain language (short sentences, everyday
|
|
10685
|
+
* words, numbered steps, one question at a time). Server-side only,
|
|
10686
|
+
* like `personaPrompt`; a session can override it via
|
|
10687
|
+
* `context.plainLanguage`.
|
|
10688
|
+
*/
|
|
10689
|
+
plainLanguage: external_exports.boolean(),
|
|
10661
10690
|
/** Display name in the chat header (e.g. "Aria"). */
|
|
10662
10691
|
assistantName: external_exports.string().max(60).nullable(),
|
|
10663
10692
|
/** URL or remote asset id for the avatar shown next to assistant turns. */
|
|
@@ -10681,6 +10710,7 @@ external_exports.object({
|
|
|
10681
10710
|
});
|
|
10682
10711
|
external_exports.object({
|
|
10683
10712
|
personaPrompt: external_exports.string().max(2048).nullable().optional(),
|
|
10713
|
+
plainLanguage: external_exports.boolean().optional(),
|
|
10684
10714
|
assistantName: external_exports.string().max(60).nullable().optional(),
|
|
10685
10715
|
assistantAvatar: imageSourceField.nullable().optional(),
|
|
10686
10716
|
emptyStateIcon: imageSourceField.nullable().optional(),
|
|
@@ -10838,6 +10868,8 @@ external_exports.object({
|
|
|
10838
10868
|
* the dev doesn't want their tokens metered.
|
|
10839
10869
|
*/
|
|
10840
10870
|
silent: external_exports.boolean().optional(),
|
|
10871
|
+
/** Run with the plain-language reply style on/off, overriding the project. */
|
|
10872
|
+
plainLanguage: external_exports.boolean().optional(),
|
|
10841
10873
|
/**
|
|
10842
10874
|
* Prior turns of the conversation, in order, that precede `prompt`.
|
|
10843
10875
|
* Lets a driver run the agent loop hop-by-hop headlessly (the multi-
|
|
@@ -12298,7 +12330,7 @@ var AppilotsAPIClient = class {
|
|
|
12298
12330
|
};
|
|
12299
12331
|
|
|
12300
12332
|
// src/version.ts
|
|
12301
|
-
var CLI_VERSION = "0.
|
|
12333
|
+
var CLI_VERSION = "0.14.0";
|
|
12302
12334
|
|
|
12303
12335
|
export { AppilotsAPIClient, CLI_VERSION, ComponentAnalyzer, DEFAULT_MANIFEST_FILENAME, DEFAULT_WEB_SCREEN_PATTERNS, FormAnalyzer, GenericPlatformAnalyzer, MCPGenerator, NavigationAnalyzer, ReactNativePlatformAnalyzer, ReactWebPlatformAnalyzer, ScreenAnalyzer, WebNavigationAnalyzer, WebScreenAnalyzer, formatMetadataWarnings, getConfigPath, getEnvOverrides, lintActionMetadata, loadConfig, loadManifest, mergeManifestNavigation, mergeManifestScreens, resolvePathToScreen, saveConfig, screenNameFromPath, validateConfig };
|
|
12304
12336
|
//# sourceMappingURL=index.mjs.map
|