anbaric 1.68.3 → 1.70.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/README.md
CHANGED
|
@@ -28,6 +28,7 @@ What the framework gives you, one capability at a time.
|
|
|
28
28
|
- [File storage](features/file-storage.md) — bytes at a path, local or in your tenant's storage
|
|
29
29
|
- [Auditing](features/auditing.md) — the record of who changed what
|
|
30
30
|
- [Entitlements](features/entitlements.md) — what a user has been granted, checked per request
|
|
31
|
+
- [Skills](features/skills.md) — guidance your builders write for the agents working on your tenant
|
|
31
32
|
- [Prompts](features/prompts.md) — versioned model instructions and schemas, saved at startup
|
|
32
33
|
- [Serving a web UI](features/serving-a-web-ui.md) — putting your data on a page
|
|
33
34
|
- [The admin console and widgets](features/admin-console-and-widgets.md) — dashboards and plugins
|
|
@@ -64,6 +64,13 @@ hardcoding styles.
|
|
|
64
64
|
> components in separate files, or import server modules only inside the data
|
|
65
65
|
> function.
|
|
66
66
|
|
|
67
|
+
## Skills
|
|
68
|
+
|
|
69
|
+
One console page is for the agents rather than the people: **Skills**, where a
|
|
70
|
+
builder writes guidance - when to use it and what to do - that the Anbaric MCP
|
|
71
|
+
offers to every agent working on the tenant as a tool of its own. See
|
|
72
|
+
[Skills](skills.md).
|
|
73
|
+
|
|
67
74
|
## Turning plugins on
|
|
68
75
|
|
|
69
76
|
`ANBARIC_PLUGINS` is a comma-separated list of plugin modules. Setting it
|
|
@@ -59,6 +59,19 @@ anbaric jobs watch <job-id> # follow a job as it progresses
|
|
|
59
59
|
more can be switched to a **large** instance (faster compute, 2× the memory,
|
|
60
60
|
$50/£50 a month instead of $20/£20, and not covered by the free allowance)
|
|
61
61
|
on the console's Manage apps page. Deploying never asks about size.
|
|
62
|
+
- **A pause on redeploy, unless you pay not to have one.** A redeploy builds the
|
|
63
|
+
new version while the old one keeps running, drains the old one (it finishes
|
|
64
|
+
the steps it has in hand, up to five minutes), then swaps the two. In the
|
|
65
|
+
ordinary case the old version is retired as soon as the new container has
|
|
66
|
+
started, which is before the app inside it is listening, so there is a gap
|
|
67
|
+
of the app's boot time in which it does not answer. **Zero-downtime
|
|
68
|
+
deploys**, switched on per app on the Manage apps page for $10/£10 a month,
|
|
69
|
+
hold the old version until the new one is answering, so the app is served
|
|
70
|
+
throughout; the switch-over is a few seconds in which a request may reach
|
|
71
|
+
either version.
|
|
72
|
+
Jobs are unaffected either way: the old version stops taking steps when it
|
|
73
|
+
is drained and the new version takes them when it is up. The setting takes
|
|
74
|
+
effect from the next deploy and is off by default. Anbaric Cloud only.
|
|
62
75
|
|
|
63
76
|
## Updating and tearing down
|
|
64
77
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Skills
|
|
2
|
+
|
|
3
|
+
An agent building on your tenant learns the platform from these docs, which
|
|
4
|
+
are the same for everyone. What they cannot tell it is what *your* tenant has:
|
|
5
|
+
a service you run, a convention your team follows, an internal system an app
|
|
6
|
+
should call a certain way. A **skill** is how you tell it. It is a short piece
|
|
7
|
+
of guidance a builder writes once, in the console, and every agent working on
|
|
8
|
+
the tenant through the Anbaric MCP sees from then on.
|
|
9
|
+
|
|
10
|
+
## What a skill is
|
|
11
|
+
|
|
12
|
+
A skill has four parts:
|
|
13
|
+
|
|
14
|
+
| Field | What it is for |
|
|
15
|
+
|---|---|
|
|
16
|
+
| **id** | A short slug (lower-case letters, digits and hyphens, up to 50 characters). It becomes part of the tool's name. |
|
|
17
|
+
| **title** | How the skill is named to people and to the agent. |
|
|
18
|
+
| **usage hints** | *When* an agent should reach for it. This is what the agent reads before deciding, so say what task or situation the skill applies to. |
|
|
19
|
+
| **body** | *What* to do: the instructions themselves. The agent reads this only once it has decided the skill applies. |
|
|
20
|
+
|
|
21
|
+
Keep the hints short and specific - "Read before fetching an external web page
|
|
22
|
+
or file from an app" - and put the detail in the body: endpoints, headers,
|
|
23
|
+
examples, the mistakes to avoid.
|
|
24
|
+
|
|
25
|
+
## Where skills live
|
|
26
|
+
|
|
27
|
+
The **Skills** page in the console lists the tenant's skills and lets a builder
|
|
28
|
+
(owner, admin or builder role) add, edit and remove them. Anyone in the tenant
|
|
29
|
+
can read them. Skills belong to the tenant, not to an app, and deployed apps
|
|
30
|
+
cannot see them: they are for the people and agents working on the tenant, not
|
|
31
|
+
for its runtime.
|
|
32
|
+
|
|
33
|
+
## How an agent sees them
|
|
34
|
+
|
|
35
|
+
Each skill is offered to the agent as a tool named `anbaric_skill_<id>` (hyphens
|
|
36
|
+
in the id become underscores), whose description is the skill's title and usage
|
|
37
|
+
hints. That is all the agent sees up front, which is how it decides relevance
|
|
38
|
+
without reading everything. Calling the tool returns the body. A skill added or
|
|
39
|
+
changed in the console appears the next time the agent's tools are listed,
|
|
40
|
+
and straight after `anbaric_login`.
|
|
41
|
+
|
|
42
|
+
Skills are not a replacement for these docs; they are the layer on top that is
|
|
43
|
+
yours. An agent is told to read the skills whose hints match its task before
|
|
44
|
+
building, and to prefer what they say where the two differ.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anbaric",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.70.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.
|
|
28
|
-
"anbaric-data-store": "^1.
|
|
29
|
-
"anbaric-state-machine": "^1.
|
|
30
|
-
"anbaric-tsapi": "^1.
|
|
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"
|
|
31
31
|
}
|
|
32
32
|
}
|