@base44-preview/cli 0.3.1-pr.696.d3cf031 → 0.3.2-pr.696.333538e
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/cli/index.js +15 -7
- package/dist/cli/index.js.map +7 -7
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -239420,7 +239420,7 @@ import { join as join13 } from "node:path";
|
|
|
239420
239420
|
// package.json
|
|
239421
239421
|
var package_default = {
|
|
239422
239422
|
name: "base44",
|
|
239423
|
-
version: "0.3.
|
|
239423
|
+
version: "0.3.2",
|
|
239424
239424
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
239425
239425
|
type: "module",
|
|
239426
239426
|
bin: {
|
|
@@ -252877,6 +252877,7 @@ async function createVersion(artifacts, options = {}) {
|
|
|
252877
252877
|
actors: artifacts.actors.map(declaredActor),
|
|
252878
252878
|
entities: artifacts.entities,
|
|
252879
252879
|
agents: artifacts.agents,
|
|
252880
|
+
mcp_config: artifacts.mcpConfig,
|
|
252880
252881
|
source_commit: options.sourceCommit
|
|
252881
252882
|
}, "declaring a version")).json(), "declare");
|
|
252882
252883
|
const declaredFiles = [
|
|
@@ -256403,7 +256404,7 @@ Did you try connecting directly to this Durable Object? Try using getServerByNam
|
|
|
256403
256404
|
};
|
|
256404
256405
|
|
|
256405
256406
|
// src/shim/actor.ts
|
|
256406
|
-
import { createClient } from "npm:@base44/sdk@0.8.
|
|
256407
|
+
import { createClient } from "npm:@base44/sdk@0.8.54";
|
|
256407
256408
|
|
|
256408
256409
|
// src/shim/tick-loop.ts
|
|
256409
256410
|
var TickLoop = class {
|
|
@@ -256822,6 +256823,8 @@ var Actor = class _Actor extends Server {
|
|
|
256822
256823
|
static REMEMBERED_PLATFORM_EVENTS = 64;
|
|
256823
256824
|
// Called by the generated wrapper for a verified POST .../events; never user-facing.
|
|
256824
256825
|
async _b44PlatformEvent(request) {
|
|
256826
|
+
const room = request.headers.get("x-partykit-room");
|
|
256827
|
+
if (room) await this.setName(room);
|
|
256825
256828
|
const event = await request.json();
|
|
256826
256829
|
if (!this.takenPlatformEvents.includes(event.event_id)) {
|
|
256827
256830
|
await this.handlePlatformEvent(event);
|
|
@@ -258571,7 +258574,7 @@ var TELEMETRY_PATCH = [
|
|
|
258571
258574
|
var TELEMETRY_STORE_FIELDS = "reqId: crypto.randomUUID(), respondedAt: null, inflight: new Map(), inflightTotal: 0, hadRejection: false, hadNonOk: false, logBudget: 5";
|
|
258572
258575
|
|
|
258573
258576
|
// ../functions-compiler/src/version.ts
|
|
258574
|
-
var COMPILER_VERSION = "0.
|
|
258577
|
+
var COMPILER_VERSION = "0.3.0-beta.3";
|
|
258575
258578
|
|
|
258576
258579
|
// ../functions-compiler/src/worker-entry.ts
|
|
258577
258580
|
function denoShimSource() {
|
|
@@ -264672,12 +264675,17 @@ async function readRawResources(dir) {
|
|
|
264672
264675
|
}
|
|
264673
264676
|
return payloads;
|
|
264674
264677
|
}
|
|
264678
|
+
async function readMcpConfig(configDir) {
|
|
264679
|
+
const path = join30(configDir, "mcp", "config.json");
|
|
264680
|
+
return await pathExists(path) ? await readTextFile(path) : "";
|
|
264681
|
+
}
|
|
264675
264682
|
async function collectResources(configDir, dirs) {
|
|
264676
|
-
const [entities, agents] = await Promise.all([
|
|
264683
|
+
const [entities, agents, mcpConfig] = await Promise.all([
|
|
264677
264684
|
readRawResources(join30(configDir, dirs.entitiesDir)),
|
|
264678
|
-
readRawResources(join30(configDir, dirs.agentsDir))
|
|
264685
|
+
readRawResources(join30(configDir, dirs.agentsDir)),
|
|
264686
|
+
readMcpConfig(configDir)
|
|
264679
264687
|
]);
|
|
264680
|
-
return { entities, agents };
|
|
264688
|
+
return { entities, agents, mcpConfig };
|
|
264681
264689
|
}
|
|
264682
264690
|
async function collectArtifacts(target) {
|
|
264683
264691
|
const built = await resolveFullStackBuild(target.root);
|
|
@@ -275196,4 +275204,4 @@ export {
|
|
|
275196
275204
|
runCLI
|
|
275197
275205
|
};
|
|
275198
275206
|
|
|
275199
|
-
//# debugId=
|
|
275207
|
+
//# debugId=C927D843652FACCF64756E2164756E21
|