@lesliechan721/aw 0.1.0-beta.31 → 0.1.0-beta.33
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/authoring/scripts/lib/plugin-version-check.mjs +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +5 -2
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +2 -0
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/tui/catalog-sources/session.d.ts +5 -1
- package/dist/src/tui/catalog-sources/session.js +6 -1
- package/dist/src/tui/catalog-sources/session.js.map +1 -1
- package/dist/src/tui/catalog-sources/types.d.ts +1 -0
- package/dist/src/tui/clipboard.d.ts +13 -0
- package/dist/src/tui/clipboard.js +95 -0
- package/dist/src/tui/clipboard.js.map +1 -0
- package/dist/src/tui/components.d.ts +21 -11
- package/dist/src/tui/components.js +69 -56
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-value-presentation.d.ts +19 -0
- package/dist/src/tui/config-value-presentation.js +77 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +1 -1
- package/dist/src/tui/console-app-v4.js +1205 -1377
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +5 -0
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +12 -1
- package/dist/src/tui/controller.js +171 -46
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/diagnostics.d.ts +2 -1
- package/dist/src/tui/diagnostics.js +8 -1
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/input-display.d.ts +1 -0
- package/dist/src/tui/input-display.js +13 -0
- package/dist/src/tui/input-display.js.map +1 -1
- package/dist/src/tui/model.d.ts +5 -3
- package/dist/src/tui/model.js +17 -33
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +6 -3
- package/dist/src/tui/operation-diagnostic-screens.js +31 -9
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -1
- package/dist/src/tui/operation-history.js +5 -4
- package/dist/src/tui/operation-history.js.map +1 -1
- package/dist/src/tui/router.d.ts +5 -7
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/screen-registry.d.ts +13 -22
- package/dist/src/tui/screen-registry.js +3 -4
- package/dist/src/tui/screen-registry.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +1 -0
- package/dist/src/tui/viewport.js +23 -0
- package/dist/src/tui/viewport.js.map +1 -1
- package/package.json +3 -3
|
@@ -10,7 +10,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
|
10
10
|
import { compareStrictSemVer, parseStrictSemVer } from './semver.mjs';
|
|
11
11
|
import { assertAuthoringPluginPathFence, resolveAuthoringPluginRoot, } from './plugin-root.mjs';
|
|
12
12
|
const execFileAsync = promisify(execFile);
|
|
13
|
-
const EXPECTED_MANIFEST_CONTRACT_VERSION =
|
|
13
|
+
const EXPECTED_MANIFEST_CONTRACT_VERSION = 13;
|
|
14
14
|
const PLUGIN_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
15
15
|
const GIT_OBJECT_ID_PATTERN = /^(?:[0-9a-f]{40}|[0-9a-f]{64})$/u;
|
|
16
16
|
const MAX_GIT_BLOB_BYTES = 50 * 1024 * 1024;
|
|
@@ -18,7 +18,7 @@ const CLI_PACKAGE_ROOT = path.basename(authoringRuntimeRoot) === 'dist'
|
|
|
18
18
|
: authoringRuntimeRoot;
|
|
19
19
|
const errors = [];
|
|
20
20
|
const warnings = [];
|
|
21
|
-
const SOURCE_PLUGIN_MANIFEST_CONTRACT_VERSION =
|
|
21
|
+
const SOURCE_PLUGIN_MANIFEST_CONTRACT_VERSION = 13;
|
|
22
22
|
let capabilityDiagnostic = null;
|
|
23
23
|
const MAX_SKILL_NAME_LEN = 64;
|
|
24
24
|
const MAX_SKILL_DESCRIPTION_LEN = 1024;
|
|
@@ -1700,7 +1700,7 @@ function defaultConfigValues(manifest) {
|
|
|
1700
1700
|
if (!isRecord(schema))
|
|
1701
1701
|
return values;
|
|
1702
1702
|
for (const [key, field] of Object.entries(schema)) {
|
|
1703
|
-
if (isRecord(field) &&
|
|
1703
|
+
if (isRecord(field) && field.default !== undefined) {
|
|
1704
1704
|
values[key] = field.default;
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
@@ -3365,6 +3365,9 @@ async function validatePluginDir(pluginDir, options) {
|
|
|
3365
3365
|
const skillValidationTools = await tryLoadCliSkillValidationTools();
|
|
3366
3366
|
try {
|
|
3367
3367
|
const normalizedManifest = await cliManifestTools.validateSourcePluginManifest(pluginDir, manifest);
|
|
3368
|
+
// Renderer fixtures consume the same compiled config as installed runtime consumers.
|
|
3369
|
+
if (normalizedManifest.config)
|
|
3370
|
+
manifest.config = normalizedManifest.config;
|
|
3368
3371
|
const requirements = await cliManifestTools.resolvePluginRequirements({
|
|
3369
3372
|
pluginRoot: pluginDir,
|
|
3370
3373
|
manifest: normalizedManifest,
|