@frockbot/plugin-skills 0.1.3 → 0.2.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/managed.ts +11 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/plugin-skills",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit -p tsconfig.json"
26
26
  },
27
27
  "dependencies": {
28
- "@frockbot/kernel-agent-loop": "0.1.3",
29
- "@frockbot/kernel-contracts": "0.1.3",
28
+ "@frockbot/kernel-agent-loop": "0.2.0",
29
+ "@frockbot/kernel-contracts": "0.2.0",
30
30
  "cordis": "4.0.0-rc.8"
31
31
  },
32
32
  "devDependencies": {
package/src/managed.ts CHANGED
@@ -56,8 +56,8 @@ tell them precisely what to do.
56
56
  already installed shows in your prompt as the Package it contributes; one
57
57
  that is not will not be there at all.
58
58
  3. Report to the User with \`send_to_user\`: the entry's display name, what it
59
- would let you do, and the single sentence "Install it under Settings
60
- Plugins, then assign it to me."
59
+ would let you do, and the single sentence "Install it and switch it on
60
+ under Settings Plugins."
61
61
  4. If the entry needs an API key or an OAuth sign-in, say so before they start,
62
62
  and say what the key is for. Never ask the User to paste a secret into the
63
63
  conversation: a Connection's credentials belong in the Connection, never in
@@ -80,17 +80,17 @@ A template is a written description of a Bot's setup, not a file format and not
80
80
  a copy of anything secret.
81
81
 
82
82
  1. Gather what actually defines this Bot: its name and description, the
83
- Packages its behaviour depends on, the Capability Assignments it runs under,
84
- the model it is assigned, and the Skills under its own instruction root.
83
+ enabled Packages its behaviour depends on, its Package-scoped settings,
84
+ and the Skills under its own instruction root.
85
85
  2. Read each Skill you intend to include with \`skill_load\` before you describe
86
86
  it. Describing a Skill from its catalog line alone is describing a name.
87
87
  3. Write the template as Markdown, in this order: Identity, Packages,
88
- Assignments, Model, Skills, Notes. Under Skills, give each Skill's slug,
88
+ Settings, Skills, Notes. Under Skills, give each Skill's slug,
89
89
  name, description, and full body — that is what makes the template
90
90
  importable.
91
91
  4. Exclude every credential. Connection ids, API keys, OAuth tokens, and
92
92
  account identifiers are the User's, not the template's. Name the *kind* of
93
- Connection each Assignment needs and stop there.
93
+ Connection each Package needs and stop there.
94
94
  5. Hand the template to the User with \`send_to_user\`. If they want it kept,
95
95
  write it into your own Memory with \`memory_write\`, not into a Skill: a
96
96
  template is a record, and a Skill is a recipe.
@@ -108,15 +108,16 @@ description: Use this when the User gives you a bot template and wants a Bot set
108
108
  1. Read the template through once before you change anything, and say back what
109
109
  it will produce: a Bot's name, its Skills, and what it will still be missing.
110
110
  2. Decide where it lands. If the template is for a new Bot, use \`bot_create\` to
111
- add one to your User's flock; it starts with no Assignments and follows your
112
- User's default model, exactly as one the User creates in the sidebar does.
111
+ add one to your User's flock; it receives the User's enabled Packages and
112
+ follows the User's account-level model, falling back to the platform model,
113
+ exactly as one created in the sidebar does.
113
114
  If it is for you, use \`bot_update\` for the identity fields and continue.
114
115
  3. Recreate the Skills you can. For each Skill in the template, call
115
116
  \`skill_write\` with its name, description, body, and slug. They land under
116
117
  your own instruction root and become visible on your next Turn, not this
117
118
  one, so do not try to run one immediately after writing it.
118
- 4. Stop at every grant. Packages, Capability Assignments, Connections, and
119
- model choices are your User's to make. List each one the template needs and
119
+ 4. Stop at every grant. Packages, Connections, and model choices are your
120
+ User's to make. List each one the template needs and
120
121
  ask for it with \`send_to_user\`; do not attempt a workaround that reaches
121
122
  the same capability by another route.
122
123
  5. Report what was created, what was skipped, and what the User still has to