@almadar/std 3.4.3 → 3.4.4
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/behaviors/exports/atoms/std-autoregressive.orb +419 -0
- package/behaviors/exports/atoms/std-browse.orb +72 -0
- package/behaviors/exports/atoms/std-circuit-breaker.orb +12 -0
- package/behaviors/exports/atoms/std-combat-log.orb +112 -0
- package/behaviors/exports/atoms/std-game-canvas3d.orb +172 -15
- package/behaviors/exports/organisms/std-api-gateway.orb +12 -0
- package/behaviors/exports/organisms/std-devops-dashboard.orb +12 -0
- package/behaviors/exports/organisms/std-iot-dashboard.orb +12 -0
- package/behaviors/exports/validation-report.json +2 -2
- package/dist/behaviors/exports/atoms/std-autoregressive.orb +419 -0
- package/dist/behaviors/exports/atoms/std-browse.orb +72 -0
- package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +12 -0
- package/dist/behaviors/exports/atoms/std-combat-log.orb +112 -0
- package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +172 -15
- package/dist/behaviors/exports/organisms/std-api-gateway.orb +12 -0
- package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +12 -0
- package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +12 -0
- package/dist/behaviors/exports/validation-report.json +2 -2
- package/dist/behaviors/functions/index.js +62 -7
- package/dist/behaviors/functions/index.js.map +1 -1
- package/dist/behaviors/index.js +62 -7
- package/dist/behaviors/index.js.map +1 -1
- package/dist/exports/atoms/std-autoregressive.orb +419 -0
- package/dist/exports/atoms/std-browse.orb +72 -0
- package/dist/exports/atoms/std-circuit-breaker.orb +12 -0
- package/dist/exports/atoms/std-combat-log.orb +112 -0
- package/dist/exports/atoms/std-game-canvas3d.orb +172 -15
- package/dist/exports/organisms/std-api-gateway.orb +12 -0
- package/dist/exports/organisms/std-devops-dashboard.orb +12 -0
- package/dist/exports/organisms/std-iot-dashboard.orb +12 -0
- package/dist/exports/validation-report.json +2 -2
- package/dist/index.js +62 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/behaviors/index.js
CHANGED
|
@@ -186,7 +186,19 @@ function buildDisplayPattern(c, entityName, emptyTitle, emptyDescription, defaul
|
|
|
186
186
|
return { ...base, ...c.displayProps };
|
|
187
187
|
}
|
|
188
188
|
function buildEntity(c) {
|
|
189
|
-
|
|
189
|
+
const instances = [
|
|
190
|
+
{ id: "bi-1", name: "Terry Schultz", description: "Senior product designer with 8 years of experience", status: "active", createdAt: "2026-01-15" },
|
|
191
|
+
{ id: "bi-2", name: "Dale Franey", description: "Full-stack developer specializing in React and Node.js", status: "active", createdAt: "2026-01-18" },
|
|
192
|
+
{ id: "bi-3", name: "Lorena Mayer", description: "Data analyst focused on business intelligence", status: "pending", createdAt: "2026-01-20" },
|
|
193
|
+
{ id: "bi-4", name: "Andrea Paucek", description: "Project manager with PMP certification", status: "active", createdAt: "2026-02-01" },
|
|
194
|
+
{ id: "bi-5", name: "Geneva Durgan", description: "UX researcher conducting user interviews", status: "inactive", createdAt: "2026-02-05" },
|
|
195
|
+
{ id: "bi-6", name: "Samantha Okuneva", description: "DevOps engineer managing cloud infrastructure", status: "active", createdAt: "2026-02-10" },
|
|
196
|
+
{ id: "bi-7", name: "Nelson Halby", description: "Technical writer documenting APIs", status: "active", createdAt: "2026-02-15" },
|
|
197
|
+
{ id: "bi-8", name: "Tanya Hand", description: "QA lead overseeing test automation", status: "pending", createdAt: "2026-02-20" },
|
|
198
|
+
{ id: "bi-9", name: "Rosemary Lind", description: "Marketing analyst tracking campaign performance", status: "active", createdAt: "2026-03-01" },
|
|
199
|
+
{ id: "bi-10", name: "Bernadette Anderson", description: "Security engineer conducting penetration tests", status: "active", createdAt: "2026-03-05" }
|
|
200
|
+
];
|
|
201
|
+
return makeEntity({ name: c.entityName, fields: c.fields, persistence: c.persistence, collection: c.collection, instances });
|
|
190
202
|
}
|
|
191
203
|
function buildTrait(c) {
|
|
192
204
|
const { entityName, listFields, headerIcon, pageTitle, emptyTitle, emptyDescription } = c;
|
|
@@ -4814,7 +4826,10 @@ function buildEntity23(c) {
|
|
|
4814
4826
|
{ name: "successCount", type: "number", default: 0 },
|
|
4815
4827
|
{ name: "threshold", type: "number", default: 5 }
|
|
4816
4828
|
];
|
|
4817
|
-
|
|
4829
|
+
const instances = [
|
|
4830
|
+
{ id: "sn-1", name: "ServiceNode", description: "Primary API gateway", status: "active", createdAt: "2026-01-10", failureCount: 783, successCount: 603, threshold: 5 }
|
|
4831
|
+
];
|
|
4832
|
+
return makeEntity({ name: c.entityName, fields, persistence: c.persistence, collection: c.collection, instances });
|
|
4818
4833
|
}
|
|
4819
4834
|
var ef9 = (field) => ["object/get", ["array/first", "@entity"], field];
|
|
4820
4835
|
function buildTrait24(c) {
|
|
@@ -7609,7 +7624,24 @@ function resolve44(params) {
|
|
|
7609
7624
|
};
|
|
7610
7625
|
}
|
|
7611
7626
|
function buildEntity42(c) {
|
|
7612
|
-
|
|
7627
|
+
const fields = [
|
|
7628
|
+
...c.fields.filter((f) => !["type", "message", "timestamp", "actorName", "targetName", "value", "turn"].includes(f.name)),
|
|
7629
|
+
{ name: "type", type: "string", default: "attack", values: ["attack", "defend", "heal", "move", "special", "death", "spawn"] },
|
|
7630
|
+
{ name: "message", type: "string" },
|
|
7631
|
+
{ name: "timestamp", type: "number", default: 0 },
|
|
7632
|
+
{ name: "actorName", type: "string" },
|
|
7633
|
+
{ name: "targetName", type: "string" },
|
|
7634
|
+
{ name: "value", type: "number", default: 0 },
|
|
7635
|
+
{ name: "turn", type: "number", default: 1 }
|
|
7636
|
+
];
|
|
7637
|
+
const instances = [
|
|
7638
|
+
{ id: "cl-1", name: "Attack log", description: "Warrior attacks Goblin", status: "active", createdAt: "2026-01-01", type: "attack", message: "Warrior strikes Goblin for 25 damage", timestamp: 1e3, actorName: "Warrior", targetName: "Goblin", value: 25, turn: 1 },
|
|
7639
|
+
{ id: "cl-2", name: "Defend log", description: "Paladin raises shield", status: "active", createdAt: "2026-01-01", type: "defend", message: "Paladin raises shield, blocking 15 damage", timestamp: 2e3, actorName: "Paladin", targetName: "Paladin", value: 15, turn: 1 },
|
|
7640
|
+
{ id: "cl-3", name: "Heal log", description: "Cleric heals Warrior", status: "active", createdAt: "2026-01-01", type: "heal", message: "Cleric heals Warrior for 30 HP", timestamp: 3e3, actorName: "Cleric", targetName: "Warrior", value: 30, turn: 2 },
|
|
7641
|
+
{ id: "cl-4", name: "Special log", description: "Mage casts fireball", status: "active", createdAt: "2026-01-01", type: "special", message: "Mage casts Fireball dealing 40 AoE damage", timestamp: 4e3, actorName: "Mage", targetName: "Goblin", value: 40, turn: 2 },
|
|
7642
|
+
{ id: "cl-5", name: "Move log", description: "Rogue moves to flank", status: "active", createdAt: "2026-01-01", type: "move", message: "Rogue moves to flanking position", timestamp: 5e3, actorName: "Rogue", value: 0, turn: 3 }
|
|
7643
|
+
];
|
|
7644
|
+
return makeEntity({ name: c.entityName, fields, persistence: c.persistence, instances });
|
|
7613
7645
|
}
|
|
7614
7646
|
function buildTrait43(c) {
|
|
7615
7647
|
const { entityName, title, maxVisible, autoScroll, showTimestamps } = c;
|
|
@@ -8316,15 +8348,38 @@ function resolve51(params) {
|
|
|
8316
8348
|
};
|
|
8317
8349
|
}
|
|
8318
8350
|
function buildEntity49(c) {
|
|
8319
|
-
|
|
8351
|
+
const fields = [
|
|
8352
|
+
...c.fields.filter((f) => !["tiles", "units", "features"].includes(f.name)),
|
|
8353
|
+
{ name: "tiles", type: "array", default: [] },
|
|
8354
|
+
{ name: "units", type: "array", default: [] },
|
|
8355
|
+
{ name: "features", type: "array", default: [] }
|
|
8356
|
+
];
|
|
8357
|
+
const instances = [
|
|
8358
|
+
{
|
|
8359
|
+
id: "scene-1",
|
|
8360
|
+
name: "Battle Arena",
|
|
8361
|
+
description: "A 3D battle arena",
|
|
8362
|
+
status: "active",
|
|
8363
|
+
createdAt: "2026-01-01",
|
|
8364
|
+
tiles: [
|
|
8365
|
+
{ x: 0, y: 0, z: 0, type: "grass" },
|
|
8366
|
+
{ x: 1, y: 0, z: 0, type: "grass" },
|
|
8367
|
+
{ x: 0, y: 0, z: 1, type: "stone" },
|
|
8368
|
+
{ x: 1, y: 0, z: 1, type: "water" }
|
|
8369
|
+
],
|
|
8370
|
+
units: [],
|
|
8371
|
+
features: []
|
|
8372
|
+
}
|
|
8373
|
+
];
|
|
8374
|
+
return makeEntity({ name: c.entityName, fields, persistence: c.persistence, instances });
|
|
8320
8375
|
}
|
|
8321
8376
|
function buildTrait50(c) {
|
|
8322
8377
|
const { entityName, orientation, cameraMode, showGrid, shadows, backgroundColor } = c;
|
|
8323
8378
|
const canvasView = {
|
|
8324
8379
|
type: "game-canvas3-d",
|
|
8325
|
-
tiles: `@${entityName}
|
|
8326
|
-
units: `@${entityName}
|
|
8327
|
-
features: `@${entityName}
|
|
8380
|
+
tiles: ["object/get", ["array/first", `@${entityName}`], "tiles"],
|
|
8381
|
+
units: ["object/get", ["array/first", `@${entityName}`], "units"],
|
|
8382
|
+
features: ["object/get", ["array/first", `@${entityName}`], "features"],
|
|
8328
8383
|
orientation,
|
|
8329
8384
|
cameraMode,
|
|
8330
8385
|
showGrid,
|