@almadar/std 16.206.0 → 16.208.0
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/lolo/agent/atoms/std-agent-tool-call.lolo +7 -2
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +7 -2
- package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +3 -5
- package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +2 -2
- package/behaviors/lolo/infra/atoms/std-migration-job.lolo +15 -14
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +2 -2
- package/behaviors/lolo/ml/atoms/std-data-collector.lolo +3 -3
- package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +1 -1
- package/behaviors/lolo/ml/atoms/std-ml-exact-check.lolo +3 -3
- package/behaviors/lolo/ml/atoms/std-ml-infer.lolo +5 -5
- package/behaviors/lolo/ml/atoms/std-ml-label-capture.lolo +6 -6
- package/behaviors/lolo/ml/atoms/std-ml-lookup.lolo +5 -5
- package/behaviors/lolo/ml/atoms/std-tokenizer.lolo +2 -2
- package/behaviors/lolo/ml/atoms/std-weight-validator.lolo +3 -3
- package/behaviors/lolo/ml/organisms/std-escalating-decision.lolo +7 -3
- package/behaviors/lolo/ml/organisms/std-knowledge-tracing.lolo +3 -3
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/std-import.lolo +2 -1
- package/behaviors/lolo/ui/core/atoms/ui-atlas-image.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/ui-atlas-panel.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/ui-avatar.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/ui-badge.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/ui-center.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +2 -25
- package/behaviors/lolo/ui/core/atoms/ui-input.lolo +2 -35
- package/behaviors/lolo/ui/core/molecules/ui-carousel.lolo +7 -1
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +7 -7
- package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-flex.lolo +3 -3
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +4 -4
- package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +2 -36
- package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-notification.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +4 -4
- package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +2 -2
- package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +11 -1
- package/behaviors/lolo/ui/core/molecules/ui-simple-grid.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-stat-display.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +37 -8
- package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +1 -1
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +1 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +1 -1
- package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +30 -7
- package/behaviors/lolo/ui/game/atoms/std-mesh-asset-art.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/std-svg-asset-art.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-draw-shape-layer.lolo +2 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-sprite-layer.lolo +2 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-text-layer.lolo +2 -1
- package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +74 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-stat-badge.lolo +1 -1
- package/behaviors/lolo/ui/marketing/atoms/ui-animated-counter.lolo +1 -1
- package/behaviors/lolo/ui/marketing/atoms/ui-animated-graphic.lolo +2 -2
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +92 -4
- package/behaviors/registry/agent/atoms/std-agent-planner.orb +46 -2
- package/behaviors/registry/agent/atoms/std-agent-session.orb +72 -4
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +161 -6
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +161 -6
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +135 -10
- package/behaviors/registry/infra/atoms/std-audit-capture.orb +8 -2
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +69 -2
- package/behaviors/registry/infra/atoms/std-calendar-sync.orb +60 -3
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +72 -2
- package/behaviors/registry/infra/atoms/std-cross-reference.orb +32 -2
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +166 -4
- package/behaviors/registry/infra/atoms/std-migration-job.orb +181 -26
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +100 -2
- package/behaviors/registry/infra/atoms/std-notification-center.orb +36 -1
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +69 -4
- package/behaviors/registry/infra/atoms/std-row-access-control.orb +16 -1
- package/behaviors/registry/ml/atoms/std-data-collector.orb +7 -4
- package/behaviors/registry/ml/atoms/std-graph-builder.orb +29 -3
- package/behaviors/registry/ml/atoms/std-ml-exact-check.orb +10 -4
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +12 -6
- package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +15 -6
- package/behaviors/registry/ml/atoms/std-ml-lookup.orb +17 -7
- package/behaviors/registry/ml/atoms/std-tokenizer.orb +5 -2
- package/behaviors/registry/ml/atoms/std-weight-validator.orb +44 -6
- package/behaviors/registry/ml/organisms/std-escalating-decision.orb +31 -4
- package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +38 -3
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +18 -2
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +34 -2
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +104 -2
- package/behaviors/registry/ui/core/atoms/std-board.orb +16 -1
- package/behaviors/registry/ui/core/atoms/std-browse.orb +58 -2
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +92 -2
- package/behaviors/registry/ui/core/atoms/std-confirmation.orb +57 -2
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +112 -2
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +96 -2
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +16 -1
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +100 -3
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +96 -2
- package/behaviors/registry/ui/core/atoms/std-gallery.orb +62 -2
- package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +142 -4
- package/behaviors/registry/ui/core/atoms/std-import.orb +119 -4
- package/behaviors/registry/ui/core/atoms/std-list.orb +62 -2
- package/behaviors/registry/ui/core/atoms/std-modal.orb +58 -2
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +16 -1
- package/behaviors/registry/ui/core/atoms/std-pagination.orb +34 -2
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +320 -13
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +111 -2
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +16 -1
- package/behaviors/registry/ui/core/atoms/std-related.orb +26 -2
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +84 -2
- package/behaviors/registry/ui/core/atoms/std-selection.orb +52 -2
- package/behaviors/registry/ui/core/atoms/std-signature-capture.orb +74 -2
- package/behaviors/registry/ui/core/atoms/std-step-flow.orb +16 -1
- package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +252 -6
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +68 -2
- package/behaviors/registry/ui/core/atoms/std-thread.orb +106 -2
- package/behaviors/registry/ui/core/atoms/std-tree.orb +52 -2
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +210 -4
- package/behaviors/registry/ui/core/atoms/std-vote.orb +54 -2
- package/behaviors/registry/ui/core/atoms/std-wizard.orb +16 -1
- package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +27 -0
- package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +27 -0
- package/behaviors/registry/ui/core/atoms/ui-avatar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-center.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +3 -70
- package/behaviors/registry/ui/core/atoms/ui-input.orb +3 -83
- package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +58 -2
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +50 -2
- package/behaviors/registry/ui/core/molecules/ui-carousel.orb +48 -4
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +16 -19
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +18 -2
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +18 -2
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +18 -2
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +2 -1
- package/behaviors/registry/ui/core/molecules/ui-flex.orb +3 -3
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +7 -10
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +2 -2
- package/behaviors/registry/ui/core/molecules/ui-input-group.orb +3 -84
- package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-notification.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +9 -27
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +2 -2
- package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +82 -2
- package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +208 -4
- package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +2 -1
- package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +18 -2
- package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +125 -19
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +18 -2
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +48 -2
- package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +20 -4
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +20 -4
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-form.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-master-detail.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +18 -2
- package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +301 -21
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +18 -2
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +66 -2
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +18 -2
- package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +28 -2
- package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +152 -2
- package/behaviors/registry/ui/game/atoms/std-gather.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-mesh-asset-art.orb +9 -3
- package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-patience.orb +72 -2
- package/behaviors/registry/ui/game/atoms/std-svg-asset-art.orb +9 -3
- package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +11 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +11 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +11 -0
- package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +1028 -112
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +3 -3
- package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +152 -2
- package/behaviors/registry/ui/learning/atoms/std-learn-fx-cues.orb +112 -2
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +86 -4
- package/behaviors/registry/ui/marketing/atoms/ui-animated-counter.orb +1 -1
- package/behaviors/registry/ui/marketing/atoms/ui-animated-graphic.orb +2 -2
- package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +18 -2
- package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +18 -2
- package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +18 -2
- package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +66 -2
- package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +58 -2
- package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +98 -2
- package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +82 -2
- package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +66 -2
- package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +34 -2
- package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +50 -2
- package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +58 -2
- package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +66 -2
- package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +50 -2
- package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +106 -2
- package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +66 -2
- package/canonical-operators.json +0 -40
- package/dist/behaviors/exports-reader.js +8003 -869
- package/dist/behaviors/functions/index.d.ts +190 -184
- package/dist/behaviors/functions/index.js +8003 -869
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +8003 -869
- package/dist/behaviors/query.js +8003 -869
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +9 -9
- package/dist/behaviors-registry.json +910 -229
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8003 -891
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/array.js +0 -11
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +0 -22
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/object.js +0 -11
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +0 -22
- package/dist/{types-BXWzEjFm.d.ts → types-C-Yerb4-.d.ts} +1 -1
- package/i18n/ar.json +433 -0
- package/i18n/en.json +433 -0
- package/i18n/sl.json +433 -0
- package/package.json +21 -8
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
app std-agent-tool-call "1.0.0"
|
|
2
2
|
"Wraps llm/call-tools — takes messages + tools, returns tool-call result."
|
|
3
3
|
|
|
4
|
-
type
|
|
5
|
-
|
|
4
|
+
type LlmToolCall = { id: string!, type: "function", function: { name: string!, arguments: string! } }
|
|
5
|
+
;; JSON Schema is recursive (@almadar/core JsonSchema: properties/items/$defs self-reference)
|
|
6
|
+
;; and .lolo has no recursive-JSON type; this deliberately partial shape declares only the
|
|
7
|
+
;; always-scalar top-level keys and leaves the recursive keys undeclared (honest, not checked).
|
|
8
|
+
type LlmToolSchema = { type: string, description: string }
|
|
9
|
+
type LlmMessage = { role: string!, content: string!, toolCalls: [LlmToolCall], toolCallId: string }
|
|
10
|
+
type LlmToolDef = { name: string!, description: string!, schema: LlmToolSchema }
|
|
6
11
|
|
|
7
12
|
orbital AgentToolCallOrbital {
|
|
8
13
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
app std-agent-tool-loop "1.0.0"
|
|
2
2
|
"Agent tool-loop molecule — call-tools, check response, emit result for iteration."
|
|
3
3
|
|
|
4
|
-
type
|
|
5
|
-
|
|
4
|
+
type LlmToolCall = { id: string!, type: "function", function: { name: string!, arguments: string! } }
|
|
5
|
+
;; JSON Schema is recursive (@almadar/core JsonSchema: properties/items/$defs self-reference)
|
|
6
|
+
;; and .lolo has no recursive-JSON type; this deliberately partial shape declares only the
|
|
7
|
+
;; always-scalar top-level keys and leaves the recursive keys undeclared (honest, not checked).
|
|
8
|
+
type LlmToolSchema = { type: string, description: string }
|
|
9
|
+
type LlmMessage = { role: string!, content: string!, toolCalls: [LlmToolCall], toolCallId: string }
|
|
10
|
+
type LlmToolDef = { name: string!, description: string!, schema: LlmToolSchema }
|
|
6
11
|
|
|
7
12
|
orbital AgentToolLoopOrbital {
|
|
8
13
|
|
|
@@ -16,8 +16,6 @@ orbital ApprovalGateOrbital {
|
|
|
16
16
|
|
|
17
17
|
type ApprovalRequestReviewFailed = Event { error : string, code : string } "Fired when the persist fails"
|
|
18
18
|
|
|
19
|
-
type ApprovalGranted = Event { requestId : string, payload : opaque } "Re-emitted on approval; carries the held payload so the downstream listener can replay the gated action without a lookup."
|
|
20
|
-
|
|
21
19
|
type DenyCommit = { id : string!, notes : string }
|
|
22
20
|
|
|
23
21
|
type ApprovalDenied = Event { requestId : string, reason : string } "Emitted on denial; carries the reviewer's written reason. Downstream listeners log, notify, or return the subject to its prior state."
|
|
@@ -46,7 +44,7 @@ orbital ApprovalGateOrbital {
|
|
|
46
44
|
decidedAt : number @description "Timestamp indicating when a decision was made on the request." @synonyms "decision time, resolved at, completed at" = 0
|
|
47
45
|
escalatedAt : number @description "Timestamp indicating when the request was escalated." @synonyms "escalation time, escalation timestamp, escalated time" = 0
|
|
48
46
|
notes : string @description "The reviewer's written reason, captured by the deny step." @synonyms "comments, remarks, explanation, reason, details" = ""
|
|
49
|
-
payload :
|
|
47
|
+
payload : Map string scalar @description "The held data of the gated action, replayed by the downstream listener when the request is granted." @synonyms "request data, held payload, pending data, gated data" = {}
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
trait LoadingSpinner = Spinner.traits.SpinnerRender -> ApprovalRequest {
|
|
@@ -115,7 +113,7 @@ orbital ApprovalGateOrbital {
|
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
115
|
|
|
118
|
-
trait ApprovalGateReview -> @rebindable ApprovalRequest [interaction, collection, approval] {
|
|
116
|
+
trait ApprovalGateReview (p : Entity) -> @rebindable ApprovalRequest [interaction, collection, approval] {
|
|
119
117
|
initial: idle
|
|
120
118
|
|
|
121
119
|
;; Every queue fetch is scoped to PENDING rows: a decided row must leave
|
|
@@ -372,7 +370,7 @@ orbital ApprovalGateOrbital {
|
|
|
372
370
|
@tier "domain"
|
|
373
371
|
ApprovalGranted -> external {
|
|
374
372
|
requestId : string
|
|
375
|
-
payload :
|
|
373
|
+
payload : p
|
|
376
374
|
}
|
|
377
375
|
@description "Signals that an approval process has been successfully completed; carries the held payload for the downstream listener to replay. Contract: if the replay fails (access denial, write failure), the host MUST emit APPROVAL_REPLAY_FAILED back so the request reopens."
|
|
378
376
|
@synonyms "approved, authorized, confirmed, validated"
|
|
@@ -11,8 +11,8 @@ orbital AuditCaptureOrbital {
|
|
|
11
11
|
action : string @description "The specific operation performed on the entity." @synonyms "operation, event, activity, change" = ""
|
|
12
12
|
entityType : string @description "The type of entity that was modified." @synonyms "type, kind, class" = ""
|
|
13
13
|
entityId : string @description "Unique identifier for the entity being audited." @synonyms "entity identifier, record id, item id" = ""
|
|
14
|
-
before :
|
|
15
|
-
after :
|
|
14
|
+
before : Map string scalar @description "The state of the entity prior to the modification." @synonyms "previous, original, old value" = {}
|
|
15
|
+
after : Map string scalar @description "The state of the entity after a modification." @synonyms "new, updated, post, subsequent" = {}
|
|
16
16
|
recordedAt : number @description "Timestamp indicating when the audit event was recorded." @synonyms "timestamp, date, time" = 0
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -6,6 +6,7 @@ orbital MigrationJobOrbital {
|
|
|
6
6
|
type ImportSourceOption = { id : string!, kind : string!, label : string!, event : string }
|
|
7
7
|
type ImportUnit = { ref : string!, targetEntity : string!, fields : Map string scalar, parentRef : string }
|
|
8
8
|
type ImportSkip = { ref : string!, reason : string! }
|
|
9
|
+
type MigrationStats = { committed : number, failed : [Map string scalar] }
|
|
9
10
|
|
|
10
11
|
entity MigrationJob [persistent: migration_jobs] {
|
|
11
12
|
id : string!
|
|
@@ -13,12 +14,12 @@ orbital MigrationJobOrbital {
|
|
|
13
14
|
files : [MigrationFile] @description "Client-side file metadata for upload sources (name/size/type/lastModified)." = []
|
|
14
15
|
target : string @description "Name of the host entity this import writes into." = ""
|
|
15
16
|
status : "idle" | "fetching" | "mapping" | "reviewing" | "committing" | "done" | "failed" @description "Lifecycle position of the run." = idle
|
|
16
|
-
documents : [
|
|
17
|
-
document :
|
|
18
|
-
stats :
|
|
17
|
+
documents : [Map string scalar] @description "Document metadata listed from the source — migration.listDocuments service result, never destructured by the atom." = []
|
|
18
|
+
document : Map string scalar @description "Most recently fetched document content — migration.fetchDocument service result, never destructured by the atom." = {}
|
|
19
|
+
stats : MigrationStats @description "Staged/committed/failed/skipped counts — merged from host staging and migration.commit service results, never destructured by the atom." = {}
|
|
19
20
|
units : [ImportUnit] @description "Staged ImportUnits ready for review (ref/targetEntity/fields/parentRef), when the host stages the full rows rather than aggregate stats only." @synonyms "staged units, preview rows, import rows, staged rows" = []
|
|
20
21
|
skipped : [ImportSkip] @description "Source elements skipped during staging with a reason each, when the host stages the full rows rather than aggregate stats only." @synonyms "skipped rows, skipped elements, staging skips" = []
|
|
21
|
-
validationErrors : [
|
|
22
|
+
validationErrors : [Map string scalar] @description "Validation errors surfaced during staging, when the host stages the full rows rather than aggregate stats only." @synonyms "staging errors, validation issues, import errors" = []
|
|
22
23
|
error : string @description "Failure detail when status is failed." = ""
|
|
23
24
|
createdAt : number @description "Run start timestamp." = 0
|
|
24
25
|
}
|
|
@@ -200,18 +201,18 @@ orbital MigrationJobOrbital {
|
|
|
200
201
|
|
|
201
202
|
emits {
|
|
202
203
|
DOCUMENTS_LISTED {
|
|
203
|
-
documents : [
|
|
204
|
+
documents : [Map string scalar]!
|
|
204
205
|
}
|
|
205
206
|
@description "migration.listDocuments service result, flattened onto the payload by the call-service effect executor"
|
|
206
207
|
@tier "secondary"
|
|
207
208
|
DOCUMENT_FETCHED {
|
|
208
|
-
document :
|
|
209
|
+
document : Map string scalar!
|
|
209
210
|
}
|
|
210
211
|
@description "migration.fetchDocument service result, flattened onto the payload by the call-service effect executor"
|
|
211
212
|
@tier "secondary"
|
|
212
213
|
COMMITTED {
|
|
213
214
|
committed : number!
|
|
214
|
-
failed : [
|
|
215
|
+
failed : [Map string scalar]!
|
|
215
216
|
}
|
|
216
217
|
@description "migration.commit service result — committed count plus per-unit failures"
|
|
217
218
|
@tier "secondary"
|
|
@@ -221,28 +222,28 @@ orbital MigrationJobOrbital {
|
|
|
221
222
|
@description "migration service call failure signal — lands the run in failed, never a silent swallow"
|
|
222
223
|
@tier "secondary"
|
|
223
224
|
MIGRATION_FETCHED -> external {
|
|
224
|
-
documents : [
|
|
225
|
+
documents : [Map string scalar]!
|
|
225
226
|
}
|
|
226
227
|
@description "Source documents are listed and the run is ready for staging (deterministic pipeline or agent)"
|
|
227
228
|
@synonyms "import fetched, source listed, documents ready"
|
|
228
229
|
@tier "domain"
|
|
229
230
|
MIGRATION_DOCUMENT -> external {
|
|
230
|
-
document :
|
|
231
|
+
document : Map string scalar!
|
|
231
232
|
}
|
|
232
233
|
@description "A single fetched document's content, for the host staging layer to map into target units"
|
|
233
234
|
@synonyms "document loaded, content fetched"
|
|
234
235
|
@tier "domain"
|
|
235
236
|
MIGRATION_REVIEW_READY -> external {
|
|
236
|
-
stats :
|
|
237
|
+
stats : MigrationStats!
|
|
237
238
|
units : [ImportUnit]
|
|
238
239
|
skipped : [ImportSkip]
|
|
239
|
-
validationErrors : [
|
|
240
|
+
validationErrors : [Map string scalar]
|
|
240
241
|
}
|
|
241
242
|
@description "Staging is complete; the preview is ready for the approval gate. units/skipped/validationErrors forward the full staged rows when the host staged them, for a review-before-commit UI; stats-only hosts leave them empty."
|
|
242
243
|
@synonyms "preview ready, staging complete, review import"
|
|
243
244
|
@tier "domain"
|
|
244
245
|
MIGRATION_COMPLETED -> external {
|
|
245
|
-
stats :
|
|
246
|
+
stats : MigrationStats!
|
|
246
247
|
}
|
|
247
248
|
@description "The commit drained through the host sink; stats carry committed and per-unit failed counts"
|
|
248
249
|
@synonyms "import done, migration complete, data imported"
|
|
@@ -269,10 +270,10 @@ orbital MigrationJobOrbital {
|
|
|
269
270
|
@description "Fetch one document's full content from the source during staging"
|
|
270
271
|
@tier "internal"
|
|
271
272
|
MIGRATION_STAGED {
|
|
272
|
-
stats :
|
|
273
|
+
stats : MigrationStats!
|
|
273
274
|
units : [ImportUnit]
|
|
274
275
|
skipped : [ImportSkip]
|
|
275
|
-
validationErrors : [
|
|
276
|
+
validationErrors : [Map string scalar]
|
|
276
277
|
}
|
|
277
278
|
@description "Host staging finished — units are staged and validated; stats summarize staged/skipped counts for the preview. units/skipped/validationErrors optionally carry the full staged rows (server ImportPreview shape) so reviewing can render an ImportPreviewTree instead of staying headless."
|
|
278
279
|
@tier "internal"
|
|
@@ -4,7 +4,7 @@ type PrefRow = { userId : string, eventType : string, mode : string, channel : s
|
|
|
4
4
|
type AuditRow = { recipient : string, channel : string, dispatched : boolean, recordedAt : number }
|
|
5
5
|
type SubRow = { userId : string, endpoint : string, p256dh : string, auth : string }
|
|
6
6
|
orbital NotifyOnEventOrbital {
|
|
7
|
-
type EventOccurred = Event { data :
|
|
7
|
+
type EventOccurred = Event { data : Map string scalar, status : string } "Rename via traitOverrides.events to the upstream event (e.g. ContactSaved). The atom listens on this sentinel and dispatches a notification. The optional `status` field lets `triggerStatus` gate dispatch to a single status-change value."
|
|
8
8
|
|
|
9
9
|
type NotificationDispatched = Event { recipient : string, channel : string, message : string, severity : string } "Re-emitted after dispatch; rename to wire downstream observers (e.g. NotificationLogAppended)."
|
|
10
10
|
|
|
@@ -333,7 +333,7 @@ orbital NotifyOnEventOrbital {
|
|
|
333
333
|
|
|
334
334
|
listens {
|
|
335
335
|
EventOccurred {
|
|
336
|
-
data :
|
|
336
|
+
data : Map string scalar
|
|
337
337
|
status : string
|
|
338
338
|
}
|
|
339
339
|
NOTIFY_PREFS_LOADED {
|
|
@@ -3,7 +3,7 @@ app std-data-collector "1.0.0"
|
|
|
3
3
|
orbital MlDataCollectorOrbital {
|
|
4
4
|
|
|
5
5
|
entity DataBuffer [runtime] {
|
|
6
|
-
buffer : [
|
|
6
|
+
buffer : [Map string scalar] @description "Data points accumulated in the current cycle." = []
|
|
7
7
|
count : int @description "Number of points currently in the buffer." = 0
|
|
8
8
|
status : "idle" | "collecting" = idle
|
|
9
9
|
}
|
|
@@ -33,14 +33,14 @@ orbital MlDataCollectorOrbital {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
emits {
|
|
36
|
-
BUFFER_READY -> external { buffer : [
|
|
36
|
+
BUFFER_READY -> external { buffer : [Map string scalar]!, count : int! }
|
|
37
37
|
@description "Fired when the buffer reaches config.bufferSize; carries the full accumulated buffer and its count, then the buffer resets for the next cycle."
|
|
38
38
|
@tier "primary"
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
listens {
|
|
42
42
|
COLLECT {
|
|
43
|
-
point :
|
|
43
|
+
point : Map string scalar!
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -8,7 +8,7 @@ orbital MlExactCheckOrbital {
|
|
|
8
8
|
status : "idle" | "checked" = idle
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
trait ExactCheckRun -> ExactCheck [lifecycle, instance] {
|
|
11
|
+
trait ExactCheckRun (r : Entity) -> ExactCheck [lifecycle, instance] {
|
|
12
12
|
initial: idle
|
|
13
13
|
|
|
14
14
|
config {
|
|
@@ -71,7 +71,7 @@ orbital MlExactCheckOrbital {
|
|
|
71
71
|
EXACT_UNMATCHED -> external {
|
|
72
72
|
candidate : scalar!
|
|
73
73
|
key : scalar!
|
|
74
|
-
request :
|
|
74
|
+
request : r
|
|
75
75
|
}
|
|
76
76
|
@description "Abstain — candidate does not equal the key; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it"
|
|
77
77
|
@tier "primary"
|
|
@@ -81,7 +81,7 @@ orbital MlExactCheckOrbital {
|
|
|
81
81
|
CHECK {
|
|
82
82
|
candidate : scalar!
|
|
83
83
|
key : scalar!
|
|
84
|
-
request :
|
|
84
|
+
request : r
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -11,12 +11,12 @@ type ContractViolation = ShapeMismatchViolation | RangeViolationDetail | NotATen
|
|
|
11
11
|
orbital MlInferOrbital {
|
|
12
12
|
|
|
13
13
|
entity Inference [runtime] {
|
|
14
|
-
input :
|
|
14
|
+
input : Map string scalar = {}
|
|
15
15
|
output : [float] = []
|
|
16
16
|
confidence : float = 0
|
|
17
17
|
violations : [ContractViolation] = []
|
|
18
18
|
reason : string = ""
|
|
19
|
-
request :
|
|
19
|
+
request : Map string scalar = {}
|
|
20
20
|
status : "idle" | "inferring" | "resolved" = idle
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -127,7 +127,7 @@ orbital MlInferOrbital {
|
|
|
127
127
|
INFER_ABSTAINED -> external {
|
|
128
128
|
reason : string!
|
|
129
129
|
violations : [ContractViolation]!
|
|
130
|
-
request :
|
|
130
|
+
request : Map string scalar
|
|
131
131
|
}
|
|
132
132
|
@description "The abstain — reason is one of: low confidence, contract violation, unavailable. violations is populated only on the contract violation path. request echoes the originating request untouched so the next rung can project its own inputs out of it"
|
|
133
133
|
@tier "primary"
|
|
@@ -135,8 +135,8 @@ orbital MlInferOrbital {
|
|
|
135
135
|
|
|
136
136
|
listens {
|
|
137
137
|
INFER {
|
|
138
|
-
input :
|
|
139
|
-
request :
|
|
138
|
+
input : Map string scalar!
|
|
139
|
+
request : Map string scalar
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -4,10 +4,10 @@ orbital MlLabelCaptureOrbital {
|
|
|
4
4
|
|
|
5
5
|
entity LabeledExample [persistent: ml_labels] {
|
|
6
6
|
id : string! @key
|
|
7
|
-
input :
|
|
8
|
-
verdict :
|
|
7
|
+
input : Map string scalar @description "The input that was judged." = null
|
|
8
|
+
verdict : Map string scalar @description "The verdict/output produced by the rung." = null
|
|
9
9
|
source : string @description "Which rung produced the verdict." = ""
|
|
10
|
-
outcome :
|
|
10
|
+
outcome : Map string scalar @description "The observed ground-truth outcome, once known." = null
|
|
11
11
|
sink : string @description "Named destination this example is attributed to." = ""
|
|
12
12
|
recordedAt : number = 0
|
|
13
13
|
}
|
|
@@ -52,10 +52,10 @@ orbital MlLabelCaptureOrbital {
|
|
|
52
52
|
|
|
53
53
|
listens {
|
|
54
54
|
CAPTURE {
|
|
55
|
-
input :
|
|
56
|
-
verdict :
|
|
55
|
+
input : Map string scalar!
|
|
56
|
+
verdict : Map string scalar!
|
|
57
57
|
source : string!
|
|
58
|
-
outcome :
|
|
58
|
+
outcome : Map string scalar
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -8,7 +8,7 @@ orbital MlLookupOrbital {
|
|
|
8
8
|
status : "idle" | "checked" = idle
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
trait LookupRun -> KeyLookup [lifecycle, instance] {
|
|
11
|
+
trait LookupRun (e : Entity, r : Entity) -> KeyLookup [lifecycle, instance] {
|
|
12
12
|
initial: idle
|
|
13
13
|
|
|
14
14
|
config {
|
|
@@ -57,14 +57,14 @@ orbital MlLookupOrbital {
|
|
|
57
57
|
emits {
|
|
58
58
|
KEY_HIT -> external {
|
|
59
59
|
candidate : scalar!
|
|
60
|
-
entry :
|
|
60
|
+
entry : e!
|
|
61
61
|
}
|
|
62
62
|
@description "Fired when the candidate matches an entry in the accepted list"
|
|
63
63
|
@tier "primary"
|
|
64
64
|
|
|
65
65
|
KEY_MISS -> external {
|
|
66
66
|
candidate : scalar!
|
|
67
|
-
request :
|
|
67
|
+
request : r
|
|
68
68
|
}
|
|
69
69
|
@description "Abstain — candidate matches nothing in the accepted list; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it"
|
|
70
70
|
@tier "primary"
|
|
@@ -73,8 +73,8 @@ orbital MlLookupOrbital {
|
|
|
73
73
|
listens {
|
|
74
74
|
LOOKUP {
|
|
75
75
|
candidate : scalar!
|
|
76
|
-
accepted : [
|
|
77
|
-
request :
|
|
76
|
+
accepted : [e]!
|
|
77
|
+
request : r
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -8,7 +8,7 @@ orbital MlTokenizerOrbital {
|
|
|
8
8
|
tokens : [string] = []
|
|
9
9
|
tokenIds : [int] = []
|
|
10
10
|
tokenCount : int = 0
|
|
11
|
-
request :
|
|
11
|
+
request : Map string scalar = {}
|
|
12
12
|
status : "idle" | "checked" = idle
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -99,7 +99,7 @@ orbital MlTokenizerOrbital {
|
|
|
99
99
|
listens {
|
|
100
100
|
TOKENIZE {
|
|
101
101
|
text : string!
|
|
102
|
-
request :
|
|
102
|
+
request : Map string scalar
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -14,7 +14,7 @@ orbital MlWeightValidatorOrbital {
|
|
|
14
14
|
status : "idle" | "checked" = idle
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
trait WeightValidatorRun -> WeightValidation [lifecycle, instance] {
|
|
17
|
+
trait WeightValidatorRun (r : Entity) -> WeightValidation [lifecycle, instance] {
|
|
18
18
|
initial: idle
|
|
19
19
|
|
|
20
20
|
config {
|
|
@@ -88,7 +88,7 @@ orbital MlWeightValidatorOrbital {
|
|
|
88
88
|
|
|
89
89
|
WEIGHTS_REJECTED -> external {
|
|
90
90
|
violations : [WeightViolation]!
|
|
91
|
-
request :
|
|
91
|
+
request : r
|
|
92
92
|
}
|
|
93
93
|
@description "At least one constraint check failed; violations lists every failing check with its detail (magnitude, forbidden-region, or regression). request echoes the originating request untouched so the next rung can project its own inputs out of it"
|
|
94
94
|
@tier "primary"
|
|
@@ -98,7 +98,7 @@ orbital MlWeightValidatorOrbital {
|
|
|
98
98
|
VALIDATE_WEIGHTS {
|
|
99
99
|
weights : [float]!
|
|
100
100
|
baseline : [float]
|
|
101
|
-
request :
|
|
101
|
+
request : r
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -25,6 +25,10 @@ orbital EscalatingDecisionOrbital {
|
|
|
25
25
|
type ContractNotATensor = { type : "not_a_tensor", actualType : string }
|
|
26
26
|
type ContractViolation = ContractShapeMismatch | ContractRangeViolation | ContractNotATensor
|
|
27
27
|
|
|
28
|
+
;; matched varies by which rung answered: an exact key, a table entry, a
|
|
29
|
+
;; match index, or a category label (all scalar) — or R4's raw tensor output.
|
|
30
|
+
type Matched = scalar | [float]
|
|
31
|
+
|
|
28
32
|
;; The entry holds no request data: the whole DECIDE payload travels down
|
|
29
33
|
;; the chain as `request`, so there is nothing for this trait to remember.
|
|
30
34
|
entity LadderRequest [runtime] {
|
|
@@ -133,13 +137,13 @@ orbital EscalatingDecisionOrbital {
|
|
|
133
137
|
}
|
|
134
138
|
}
|
|
135
139
|
|
|
136
|
-
trait ExactRung = Rung0.traits.ExactCheckRun -> ExactCheck {
|
|
140
|
+
trait ExactRung :: r DecisionRequest = Rung0.traits.ExactCheckRun -> ExactCheck {
|
|
137
141
|
listens {
|
|
138
142
|
LadderEntry.RUN_EXACT -> CHECK
|
|
139
143
|
}
|
|
140
144
|
}
|
|
141
145
|
|
|
142
|
-
trait LookupRung = Rung1.traits.LookupRun -> KeyLookup {
|
|
146
|
+
trait LookupRung :: e scalar r DecisionRequest = Rung1.traits.LookupRun -> KeyLookup {
|
|
143
147
|
listens {
|
|
144
148
|
ExactRung.EXACT_UNMATCHED -> LOOKUP
|
|
145
149
|
with { candidate: ?candidate, accepted: (object/get ?request "accepted"), request: ?request }
|
|
@@ -248,7 +252,7 @@ orbital EscalatingDecisionOrbital {
|
|
|
248
252
|
DECIDED -> external {
|
|
249
253
|
rung : string!
|
|
250
254
|
confidence : number!
|
|
251
|
-
matched :
|
|
255
|
+
matched : Matched!
|
|
252
256
|
reasoning : string!
|
|
253
257
|
}
|
|
254
258
|
@description "The ladder proved an answer. rung names which one served it: R0 exact, R1 table, R3 retrieved, R4 learned, R5 generative."
|
|
@@ -18,10 +18,10 @@ orbital KnowledgeTracingOrbital {
|
|
|
18
18
|
intervalHigh : float = 0
|
|
19
19
|
observations : int = 0
|
|
20
20
|
status : "idle" | "insufficient" | "mastered" | "remediate" = idle
|
|
21
|
-
input :
|
|
22
|
-
verdict :
|
|
21
|
+
input : ObservationLabelInput = {}
|
|
22
|
+
verdict : ObservationLabelVerdict = {}
|
|
23
23
|
source : string = ""
|
|
24
|
-
outcome :
|
|
24
|
+
outcome : Map string scalar = {}
|
|
25
25
|
sink : string = ""
|
|
26
26
|
recordedAt : number = 0
|
|
27
27
|
}
|
|
@@ -6,6 +6,7 @@ orbital ImportOrbital {
|
|
|
6
6
|
|
|
7
7
|
type SourceOption = { id : string!, kind : string!, label : string!, event : string }
|
|
8
8
|
type ImportFileMeta = { name : string!, size : number, type : string, lastModified : number }
|
|
9
|
+
type FilePickerResult = { files : [ImportFileMeta] }
|
|
9
10
|
|
|
10
11
|
entity ImportPanel [runtime] {
|
|
11
12
|
id : string!
|
|
@@ -74,7 +75,7 @@ orbital ImportOrbital {
|
|
|
74
75
|
@synonyms "import error, picker failed"
|
|
75
76
|
@tier "internal"
|
|
76
77
|
FILES_PICKED {
|
|
77
|
-
result :
|
|
78
|
+
result : FilePickerResult!
|
|
78
79
|
}
|
|
79
80
|
@description "browser/open-file-picker success envelope — result.files holds the picked file metadata"
|
|
80
81
|
@tier "secondary"
|
|
@@ -56,7 +56,7 @@ orbital BadgeOrbital {
|
|
|
56
56
|
@label "Amount"
|
|
57
57
|
@description "Numeric count or amount to display in badge"
|
|
58
58
|
@tier "presentation"
|
|
59
|
-
label :
|
|
59
|
+
label : scalar
|
|
60
60
|
@label "Label"
|
|
61
61
|
@description "Badge label text (alternative to children for schema-driven rendering). Numeric values are auto-coerced to string for rendering — common case is unread counts, error counts, status codes, etc."
|
|
62
62
|
@tier "presentation"
|
|
@@ -37,7 +37,7 @@ orbital CenterOrbital {
|
|
|
37
37
|
@label "Vertical"
|
|
38
38
|
@description "Center only vertically"
|
|
39
39
|
@tier "presentation"
|
|
40
|
-
minHeight :
|
|
40
|
+
minHeight : scalar
|
|
41
41
|
@label "Min Height"
|
|
42
42
|
@description "Minimum height (useful for vertical centering)"
|
|
43
43
|
@tier "presentation"
|
|
@@ -3,7 +3,6 @@ app ui-filter-pill "1.0.0"
|
|
|
3
3
|
orbital FilterPillOrbital {
|
|
4
4
|
entity FilterPillItem [runtime] {
|
|
5
5
|
id : string!
|
|
6
|
-
label : string
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
trait FilterPillRender -> @rebindable FilterPillItem [interaction, instance] {
|
|
@@ -11,27 +10,11 @@ orbital FilterPillOrbital {
|
|
|
11
10
|
|
|
12
11
|
state idle {
|
|
13
12
|
INIT -> idle
|
|
14
|
-
(set @entity.label @config.label)
|
|
15
13
|
(render-ui main {
|
|
16
14
|
className: @config.className
|
|
17
15
|
variant: @config.variant
|
|
18
16
|
size: @config.size
|
|
19
|
-
label: @
|
|
20
|
-
icon: @config.icon
|
|
21
|
-
onRemove: @config.onRemove
|
|
22
|
-
removable: @config.removable
|
|
23
|
-
onClick: @config.onClick
|
|
24
|
-
clickEvent: @config.clickEvent
|
|
25
|
-
removeEvent: @config.removeEvent
|
|
26
|
-
type: filter-pill
|
|
27
|
-
})
|
|
28
|
-
CLICK -> idle
|
|
29
|
-
(set @entity.label ?label)
|
|
30
|
-
(render-ui main {
|
|
31
|
-
className: @config.className
|
|
32
|
-
variant: @config.variant
|
|
33
|
-
size: @config.size
|
|
34
|
-
label: @entity.label
|
|
17
|
+
label: @config.label
|
|
35
18
|
icon: @config.icon
|
|
36
19
|
onRemove: @config.onRemove
|
|
37
20
|
removable: @config.removable
|
|
@@ -50,12 +33,6 @@ orbital FilterPillOrbital {
|
|
|
50
33
|
@tier "essential"
|
|
51
34
|
}
|
|
52
35
|
|
|
53
|
-
listens {
|
|
54
|
-
CLICK {
|
|
55
|
-
label : string!
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
36
|
config {
|
|
60
37
|
className : string
|
|
61
38
|
@label "Class Name"
|
|
@@ -69,7 +46,7 @@ orbital FilterPillOrbital {
|
|
|
69
46
|
@label "Size"
|
|
70
47
|
@description "size prop"
|
|
71
48
|
@tier "presentation"
|
|
72
|
-
label :
|
|
49
|
+
label : scalar
|
|
73
50
|
@label "Label"
|
|
74
51
|
@description "Pill label text (alternative to children for schema-driven rendering)."
|
|
75
52
|
@tier "presentation"
|