Repository navigation
Conversation
A version now declares each agent-skills/<name>.md as written, keyed by
skill name, and {} when the app has none; only the folder's own *.md files
are skills. The skill body limit goes from 15,000 to 50,000 characters, the
limit the platform already applies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.3.2-pr.698.ea0a371Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.3.2-pr.698.ea0a371"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.3.2-pr.698.ea0a371"
}
}
Preview published to npm registry — try new features instantly! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Description
Agent skills are part of what an app declares, but they were absent from the version payload — a published version could not reproduce the skills the build had. This PR collects each
agent-skills/<name>.mdas text and sends it in theagent_skillsfield when declaring a version, alongside the existingentities,agentsandmcp_configpayloads. Like the MCP config, the files go up unparsed so the platform's reader stays authoritative, and the field is always sent ({}when the app has none) so an absent field keeps meaning "this producer does not describe skills".Related Issue
None
Type of Change
Changes Made
core/version/artifacts.ts— newreadAgentSkillFiles()reads the skills directory's own*.mdfiles (no recursion, no symlink following, sorted for stable order) and returns them keyed by skill name with the.mdstripped;collectResources()now gathers them in parallel with the entities, agents and MCP config.core/version/schema.ts—ArtifactSetgainsagentSkills: Record<string, string>.core/version/api.ts—createVersion()sendsagent_skillsin the declare request.core/project/target.ts—BuildTargetgainsagentSkillsDir, defaulting toagent-skillsand overridable via the project config's existingagentSkillsDirfield.core/resources/agent-skill/schema.ts— raised the skill body limit from 15,000 to 50,000 characters.docs/versions.md— documentedagent_skillsin the declare step and added a section on how skill files are collected; added the keyword.collectResourcessends each skill file as written and ignores non-.mdfiles and nested directories; an app with no skills declaresagentSkills: {};publishdeclaresagent_skills: {}for a skill-less app; build-target fixtures updated for the new field.Testing
npm test)Checklist
docs/(AGENTS.md) if I made architectural changesAdditional Notes
The new payload field rides the same
BASE44_VERSIONS_APIgate as the rest of the versions lane. The body-limit bump to 50,000 characters inAgentSkillSchemais a separate loosening that rides along in this change — worth a second look if the platform enforces its own limit.🤖 Generated by Claude | 2026-11-10 15:55 UTC | d34e4f4