@elaraai/e3-cloud-claude-plugin 1.1.11 → 1.1.12

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "e3-cloud",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
5
5
  "author": {
6
6
  "name": "Elara AI",
package/index.json CHANGED
@@ -1,16 +1,46 @@
1
1
  {
2
2
  "version": 2,
3
3
  "stats": {
4
- "totalEntries": 47,
5
- "totalFiles": 2,
4
+ "totalEntries": 48,
5
+ "totalFiles": 3,
6
6
  "packages": {
7
- "e3-cloud-ui": 12,
7
+ "e3-cloud-ui": 13,
8
8
  "e3-cloud-files": 14,
9
9
  "e3-cloud-cli": 15,
10
10
  "e3-cloud-client": 6
11
11
  }
12
12
  },
13
13
  "entries": [
14
+ {
15
+ "id": "e3-cloud-ui:drafts.examples.tsx:pageCallsAFunctionOverItsEdits",
16
+ "skill": "e3-cloud-ui",
17
+ "package": "e3-cloud-ui",
18
+ "file": "packages/e3-cloud-ui/test/drafts.examples.tsx",
19
+ "suite": "",
20
+ "test": "Calling a function over the page's unsaved edits: a function that lists drafts takes them after its arguments, an Array, each a mutation that Record.bind's draft.<name> makes and does not commit, and reads the record with them laid over it, saving nothing. An app is checked against the records the function lists (function_drafts)",
21
+ "keywords": [
22
+ "Func.bind",
23
+ "call",
24
+ "drafts",
25
+ "draft",
26
+ "unsaved edits",
27
+ "Record.bind",
28
+ "e3.function",
29
+ "function_drafts"
30
+ ],
31
+ "imports": [
32
+ "import { East, IntegerType, NullType, StringType, example } from '@elaraai/east';",
33
+ "import { Button, Reactive, UIComponentType } from '@elaraai/east-ui';",
34
+ "import { Func, Record } from '@elaraai/e3-ui';",
35
+ "import e3 from '@elaraai/e3';",
36
+ "import { App, Page } from '../src/index.js';",
37
+ "import { orders } from './acme.examples.js';"
38
+ ],
39
+ "languages": [
40
+ "tsx"
41
+ ],
42
+ "source": "// Calling a function over the page's unsaved edits: a function that lists drafts takes them after its arguments, an Array, each a mutation that Record.bind's draft.<name> makes and does not commit, and reads the record with them laid over it, saving nothing. An app is checked against the records the function lists (function_drafts)\n// inputs: []\n/**\n * A line's orders, counted. It reads the orders and lists them in its drafts,\n * so a call may lay a page's unsaved edits of them over what it reads: its\n * call takes them after the line.\n */\nexport const ordersOn = e3.function('orders_on', { inputs: [orders], drafts: [orders], args: [StringType], output: IntegerType },\n (_$, os, _line) => os.size());\n\n/** A page's body that counts L1's orders with A-17 approved and not committed: the example's, at its own type. */\nexport const ordersBody = East.function([], UIComponentType, _$ => (\n <Reactive>{$ => {\n const o = $.let(Record.bind(orders, ['approve']));\n const count = $.let(Func.bind(ordersOn));\n // A-17 approved and not committed: the arguments o.mutate.approve takes\n const ask = $.const(East.function([], NullType, $ => { $(count.call('L1', [o.draft.approve('A-17')])); }));\n return <Button loading={count.pending()} onClick={ask}>Count with A-17 approved</Button>;\n }}</Reactive>\n));\n\nordersBody"
43
+ },
14
44
  {
15
45
  "id": "e3-cloud-ui:pages.examples.tsx:pageReadsAndWritesAnInput",
16
46
  "skill": "e3-cloud-ui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/e3-cloud-claude-plugin",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "type": "module",