@frontera-sdk/cli 1.50.42 → 1.50.44
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/package.json +4 -4
- package/src/forge/touches.ts +1 -0
- package/src/provenance.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/cli",
|
|
3
|
-
"version": "1.50.
|
|
3
|
+
"version": "1.50.44",
|
|
4
4
|
"description": "The frontera CLI — scaffold, pull, save and deploy Frontera apps and automations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@anthropic-ai/claude-agent-sdk": "^0.3.251",
|
|
42
|
-
"@frontera-sdk/functions": "1.50.
|
|
43
|
-
"@frontera-sdk/core": "1.50.
|
|
42
|
+
"@frontera-sdk/functions": "1.50.44",
|
|
43
|
+
"@frontera-sdk/core": "1.50.44",
|
|
44
44
|
"ai": "^6.0.116",
|
|
45
45
|
"gray-matter": "^4.0.3",
|
|
46
46
|
"yaml": "^2.9.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@frontera-sdk/forge-contracts": "1.50.
|
|
49
|
+
"@frontera-sdk/forge-contracts": "1.50.44",
|
|
50
50
|
"@types/bun": "^1.3.14",
|
|
51
51
|
"typescript": "^5.9.3"
|
|
52
52
|
}
|
package/src/forge/touches.ts
CHANGED
|
@@ -207,6 +207,7 @@ function mcpArtifact(tool: string, input: Record<string, unknown>): { kind: Forg
|
|
|
207
207
|
if (agentId) return { kind: 'agent', ref: agentId }
|
|
208
208
|
if (tool === 'data_create_source') return { kind: 'source', ref: str('displayName') ?? str('name') }
|
|
209
209
|
if (tool === 'data_create_dataset') return { kind: 'dataset', ref: str('apiName') ?? str('name') }
|
|
210
|
+
if (tool === 'data_create_blank_dataset') return { kind: 'dataset', ref: str('apiName') ?? str('name') }
|
|
210
211
|
if (tool === 'promote_platform_app_version') return { kind: 'app', ref: str('app') ?? str('slug') }
|
|
211
212
|
if (/_skill$/.test(tool)) return { kind: 'skill', ref: str('slug') ?? str('skillId') }
|
|
212
213
|
if (/knowledge/.test(tool)) return { kind: 'knowledge', ref: str('knowledgeBaseId') ?? str('name') }
|
package/src/provenance.ts
CHANGED
|
@@ -40,6 +40,10 @@ function installedFrameworkVersion(root: string, framework: AppBuildProvenance['
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
function ownVersion(): string {
|
|
43
|
+
// A release binary is one file with no package.json beside it; the build
|
|
44
|
+
// stamps its version instead, as main.ts and forge/serve.ts read it.
|
|
45
|
+
const stamped = process.env.FRONTERA_CLI_VERSION
|
|
46
|
+
if (stamped) return stamped
|
|
43
47
|
try {
|
|
44
48
|
const pkg = JSON.parse(readFileSync(join(import.meta.dir, '../package.json'), 'utf8')) as {
|
|
45
49
|
version?: string
|