experimental-ash 0.4.0-alpha.1 → 0.4.0-alpha.3

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.
@@ -11,7 +11,7 @@ import {
11
11
  loadCompiledManifest,
12
12
  resolveWorkflowBuildDirectory,
13
13
  stringifyEsmImportSpecifier
14
- } from "./chunk-CWTR3RAI.js";
14
+ } from "./chunk-WKCLLJVA.js";
15
15
  import {
16
16
  resolvePackageSourceFilePath
17
17
  } from "./chunk-E7IAIRUB.js";
@@ -589,4 +589,4 @@ export {
589
589
  createAuthoredSourceRuntimeCompiledArtifactsSource,
590
590
  prepareApplicationHost
591
591
  };
592
- //# sourceMappingURL=chunk-HV3FCU6O.js.map
592
+ //# sourceMappingURL=chunk-JYG2I2QJ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  prepareApplicationHost,
8
8
  registerChannelVirtualHandlers,
9
9
  registerScheduleTaskHandlers
10
- } from "./chunk-HV3FCU6O.js";
10
+ } from "./chunk-JYG2I2QJ.js";
11
11
  import {
12
12
  DEFAULT_SANDBOX_SOURCE_ID,
13
13
  ROOT_COMPILED_AGENT_NODE_ID,
@@ -28,7 +28,7 @@ import {
28
28
  resolveRuntimeAgentGraph,
29
29
  resolveRuntimeCompiledArtifactsVersionedCacheKey,
30
30
  stringifyEsmImportSpecifier
31
- } from "./chunk-CWTR3RAI.js";
31
+ } from "./chunk-WKCLLJVA.js";
32
32
  import {
33
33
  loadAuthoredModuleNamespace
34
34
  } from "./chunk-TP5TFXAL.js";
@@ -2315,7 +2315,7 @@ async function startDevelopmentServer(rootDir, options = {}) {
2315
2315
  restoreWorkflowLocalQueueEnvironment = installWorkflowLocalQueueEnvironment(server.url);
2316
2316
  await prepare2(nitro);
2317
2317
  await buildNitro2(nitro);
2318
- const { startAuthoredSourceWatcher } = await import("./dev-authored-source-watcher-6DWYULJ5.js");
2318
+ const { startAuthoredSourceWatcher } = await import("./dev-authored-source-watcher-W2JT7UYC.js");
2319
2319
  const authoredSourceWatcher = await startAuthoredSourceWatcher({
2320
2320
  nitro,
2321
2321
  preparedHost,
@@ -2359,4 +2359,4 @@ export {
2359
2359
  buildHost,
2360
2360
  startHost
2361
2361
  };
2362
- //# sourceMappingURL=chunk-CCLHYHJ7.js.map
2362
+ //# sourceMappingURL=chunk-LOV2DSY3.js.map
@@ -26028,14 +26028,15 @@ function lowerSkillMarkdown(source, input = {}) {
26028
26028
  throw new Error("Skill markdown must start with YAML frontmatter.");
26029
26029
  }
26030
26030
  assertNoLegacySkillToolAllowlist(document.frontmatter);
26031
- const frontmatterDescription = toOptionalString(document.frontmatter.description, "description");
26032
- const description = slug === void 0 ? requireStringFrontmatter(document.frontmatter.description, "description") : frontmatterDescription ?? input.description ?? deriveFlatSkillDescription(document.markdown, slug);
26031
+ const frontmatter = stripIgnoredSkillFrontmatterKeys(document.frontmatter);
26032
+ const frontmatterDescription = toOptionalString(frontmatter.description, "description");
26033
+ const description = slug === void 0 ? requireStringFrontmatter(frontmatter.description, "description") : frontmatterDescription ?? input.description ?? deriveFlatSkillDescription(document.markdown, slug);
26033
26034
  const rawDefinition = {
26034
- ...document.frontmatter,
26035
+ ...frontmatter,
26035
26036
  description,
26036
26037
  markdown: document.markdown
26037
26038
  };
26038
- applyOptionalSkillFrontmatter(rawDefinition, document.frontmatter);
26039
+ applyOptionalSkillFrontmatter(rawDefinition, frontmatter);
26039
26040
  return defineSkill(
26040
26041
  normalizeSkillDefinition(
26041
26042
  rawDefinition,
@@ -26069,6 +26070,14 @@ function assertNoLegacySkillToolAllowlist(frontmatter) {
26069
26070
  );
26070
26071
  }
26071
26072
  }
26073
+ var IGNORED_SKILL_FRONTMATTER_KEYS = ["name"];
26074
+ function stripIgnoredSkillFrontmatterKeys(frontmatter) {
26075
+ let stripped = { ...frontmatter };
26076
+ for (const key of IGNORED_SKILL_FRONTMATTER_KEYS) {
26077
+ delete stripped[key];
26078
+ }
26079
+ return stripped;
26080
+ }
26072
26081
  function toOptionalString(value, fieldName) {
26073
26082
  if (value === void 0 || value === null) {
26074
26083
  return void 0;
@@ -28835,4 +28844,4 @@ export {
28835
28844
  resolveWorkflowBuildDirectory,
28836
28845
  getApplicationInfo
28837
28846
  };
28838
- //# sourceMappingURL=chunk-CWTR3RAI.js.map
28847
+ //# sourceMappingURL=chunk-WKCLLJVA.js.map