veryfront 0.1.952 → 0.1.953

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.952",
3
+ "version": "0.1.953",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/src/skill/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,IAAI,EAAwB,MAAM,kBAAkB,CAAC;AAgKnE;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAoD1C;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CA+BnD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAuCnD"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/src/skill/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,IAAI,EAAwB,MAAM,kBAAkB,CAAC;AAmJnE;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAkD1C;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CA+BnD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAuCnD"}
@@ -71,18 +71,6 @@ function resolveVisibleSkillOrThrow(skillId, context) {
71
71
  }
72
72
  return skill;
73
73
  }
74
- function buildSkillAvailabilityNote(references, scripts) {
75
- if (scripts.length === 0 && references.length === 0) {
76
- return "This skill has no scripts or reference files. Do NOT call execute_skill_script or load_skill_reference.";
77
- }
78
- if (scripts.length === 0) {
79
- return "This skill has no scripts. Do NOT call execute_skill_script.";
80
- }
81
- if (references.length === 0) {
82
- return "This skill has no reference files. Do NOT call load_skill_reference.";
83
- }
84
- return undefined;
85
- }
86
74
  function hasRuntimeSkillBoundary(context) {
87
75
  if (!context)
88
76
  return false;
@@ -141,14 +129,12 @@ export function createLoadSkillTool() {
141
129
  listSkillSubdir(skill.rootPath, SKILL_SCRIPTS_DIR, skill.fsAdapter),
142
130
  ]);
143
131
  const loadableReferences = [...references, ...resources, ...assets];
144
- const note = buildSkillAvailabilityNote(loadableReferences, scripts);
145
132
  return {
146
133
  skillId: skill.id,
147
134
  instructions: parsed.body,
148
135
  allowedTools: skill.metadata.allowedTools,
149
136
  references: loadableReferences,
150
137
  scripts,
151
- ...(note ? { note } : {}),
152
138
  };
153
139
  },
154
140
  });
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.952";
2
+ export declare const VERSION = "0.1.953";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.952";
4
+ export const VERSION = "0.1.953";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.952",
3
+ "version": "0.1.953",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",