anbaric 1.70.0 → 1.72.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/docs/api/cli.md CHANGED
@@ -52,7 +52,7 @@ anbaric app status link-media-brief # a different app, from anywhere
52
52
 
53
53
  | Command | Purpose |
54
54
  | --- | --- |
55
- | `anbaric state-machines` | List registered state machines. |
55
+ | `anbaric state-machines` | List registered state machines, with the version of each and when it last registered. |
56
56
  | `anbaric jobs create <sm-id> <start-state> [k=v …]` | Create a job and queue it for processing. |
57
57
  | `anbaric jobs list [state-machine-id]` | List jobs, newest first, a page at a time (100 by default — `--page 1` for the next). Narrow with `--state`, `--status`, `--app`; `--oldest` flips the order. Filters apply on the platform, across every job, before paging. |
58
58
  | `anbaric jobs stats` | Job counts per state and the queue size. |
@@ -82,6 +82,22 @@ anbaric app tail <name> # stream runtime logs
82
82
  anbaric app tear-down <name> # stop and remove the app
83
83
  ```
84
84
 
85
+ ## How work reaches a deployed app
86
+
87
+ The platform queues each step a job is due and pushes it to the app that owns
88
+ the job, at the address the platform itself gave the app when it placed it.
89
+ Nothing in the app chooses or announces that address, and nothing is lost if
90
+ the platform restarts: the route is the deployment.
91
+
92
+ When a state machine starts it also **registers** itself: its id, the app it
93
+ belongs to and its definition. That registration is what the console's
94
+ **State machines** page, `anbaric state-machines` and the MCP's
95
+ `anbaric_state_machines` show. The platform keeps it, with when the machine
96
+ last registered and a **version** that advances each time the machine's
97
+ definition changes - the same states, actions and transitions registering
98
+ again, after a restart or a redeploy, keep their version. The console shows
99
+ the latest version.
100
+
85
101
  ## Running your own platform
86
102
 
87
103
  You don't have to use Anbaric Cloud — `anbaric-hosting` runs the whole platform
@@ -65,6 +65,17 @@ Apps can't grant. An administrator opens **Entitlements** in the console, picks
65
65
  the user, the entitlement and its scope, and adds a note; the same page revokes
66
66
  grants and creates global entitlements. Every grant records who made it.
67
67
 
68
+ ## Invitations and invite links
69
+
70
+ Entitlements can be chosen when someone is invited, before they have signed
71
+ in: an invitation by email holds them against that address and grants them the
72
+ first time the person signs in. An **invite link** does the same for whoever
73
+ opens it. An owner or admin creates one on the Users page, choosing how many
74
+ people may use it, the role they join as, and the entitlements they receive;
75
+ each person who opens the link and signs in becomes a member with exactly
76
+ those, and the link counts down until it is used up or revoked. Anyone holding
77
+ the link can join, so it is for sharing with the people you mean to invite.
78
+
68
79
  ## Locally
69
80
 
70
81
  There's no console on your laptop, so the local implementation is
@@ -30,6 +30,10 @@ can read them. Skills belong to the tenant, not to an app, and deployed apps
30
30
  cannot see them: they are for the people and agents working on the tenant, not
31
31
  for its runtime.
32
32
 
33
+ A skill marked **Managed service** is written by Anbaric for a service your
34
+ tenant has, such as the additional services, and kept current by us. It is
35
+ offered to your agents like any other but is not yours to edit or remove.
36
+
33
37
  ## How an agent sees them
34
38
 
35
39
  Each skill is offered to the agent as a tool named `anbaric_skill_<id>` (hyphens
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anbaric",
3
- "version": "1.70.0",
3
+ "version": "1.72.0",
4
4
  "description": "Everything needed to write an Anbaric app: state machines, jobs, document and secret stores, local in-memory implementations and the Anbaric Cloud clients",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,9 +24,9 @@
24
24
  "prepublishOnly": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "anbaric-impl-cloud": "^1.70.0",
28
- "anbaric-data-store": "^1.70.0",
29
- "anbaric-state-machine": "^1.70.0",
30
- "anbaric-tsapi": "^1.70.0"
27
+ "anbaric-impl-cloud": "^1.72.0",
28
+ "anbaric-data-store": "^1.72.0",
29
+ "anbaric-state-machine": "^1.72.0",
30
+ "anbaric-tsapi": "^1.72.0"
31
31
  }
32
32
  }