@frockbot/plugin-routines 0.1.2 → 0.1.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/package.json +7 -7
- package/src/agent.ts +2 -1
- package/src/storage-keys.ts +1 -1
- package/src/store.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/plugin-routines",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"typecheck": "vue-tsc --noEmit -p tsconfig.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@frockbot/client-core": "0.1.
|
|
36
|
-
"@frockbot/client-ui": "0.1.
|
|
37
|
-
"@frockbot/configuration-core": "0.1.
|
|
38
|
-
"@frockbot/kernel-agent-loop": "0.1.
|
|
39
|
-
"@frockbot/kernel-contracts": "0.1.
|
|
40
|
-
"@frockbot/plugin-shell": "0.1.
|
|
35
|
+
"@frockbot/client-core": "0.1.4",
|
|
36
|
+
"@frockbot/client-ui": "0.1.4",
|
|
37
|
+
"@frockbot/configuration-core": "0.1.4",
|
|
38
|
+
"@frockbot/kernel-agent-loop": "0.1.4",
|
|
39
|
+
"@frockbot/kernel-contracts": "0.1.4",
|
|
40
|
+
"@frockbot/plugin-shell": "0.1.4",
|
|
41
41
|
"cordis": "4.0.0-rc.8",
|
|
42
42
|
"croner": "10.0.1",
|
|
43
43
|
"vue": "3.5.41"
|
package/src/agent.ts
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
// produce the same durable record with different recorded provenance.
|
|
8
8
|
//
|
|
9
9
|
// "Self-modification never widens authority": a Bot-authored Routine runs as the
|
|
10
|
-
// Bot, with the
|
|
10
|
+
// Bot, with the User's enabled Packages and Connections. Nothing here grants
|
|
11
|
+
// anything.
|
|
11
12
|
//
|
|
12
13
|
// `run_now` fires the Routine out of band. It enqueues rather than runs: the
|
|
13
14
|
// tool is called from inside an admitted Turn, and a Bot Durable Object holds
|
package/src/storage-keys.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// The Bot Durable Object storage keys the Routines Package owns.
|
|
2
2
|
//
|
|
3
3
|
// "The Bot's Durable Object is the authority for everything Bot-scoped: …
|
|
4
|
-
// durable scheduling, Routines,
|
|
4
|
+
// durable scheduling, Routines, and Composition". The keys live here rather than in
|
|
5
5
|
// `@frockbot/kernel-do` because the kernel imports no Package and holds no
|
|
6
6
|
// product policy; the Durable Object hands this Package a storage seam and this
|
|
7
7
|
// module decides what it writes under.
|
package/src/store.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// The Routines authority: the Bot Durable Object's durable Routine records.
|
|
2
2
|
//
|
|
3
3
|
// "The Bot's Durable Object is the authority for everything Bot-scoped: …
|
|
4
|
-
// durable scheduling, Routines,
|
|
4
|
+
// durable scheduling, Routines, and Composition." This class is that authority's
|
|
5
5
|
// implementation; the Durable Object hands it a storage seam and calls it. It is
|
|
6
6
|
// a deep module: `execute`, `list` and `listRuns` are the whole surface, and
|
|
7
7
|
// every command — from the hosted client, from the `routine_manage` tool, from a
|