@zibby/skills 2.0.4 → 2.0.6

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 (55) hide show
  1. package/dist/artifact.js +7 -7
  2. package/dist/chat-notify.js +4 -4
  3. package/dist/chatProgress.js +4 -4
  4. package/dist/datasetStore.js +2 -2
  5. package/dist/discord.js +3 -3
  6. package/dist/figma.js +2 -2
  7. package/dist/git-write.js +9 -9
  8. package/dist/github.js +5 -5
  9. package/dist/gitlab.js +5 -5
  10. package/dist/googleDocs.js +9 -9
  11. package/dist/hubspot.js +1 -1
  12. package/dist/index.js +179 -181
  13. package/dist/jira.d.ts +36 -1
  14. package/dist/jira.js +22 -20
  15. package/dist/kvMemory.js +2 -2
  16. package/dist/lark.js +2 -2
  17. package/dist/larkAttendance.js +1 -1
  18. package/dist/larkDocs.js +3 -3
  19. package/dist/lib/http-deadline.d.ts +117 -0
  20. package/dist/lib/http-deadline.js +1 -0
  21. package/dist/lib/markup.d.ts +158 -0
  22. package/dist/lib/markup.js +22 -0
  23. package/dist/linear.js +15 -15
  24. package/dist/linkedin.js +2 -2
  25. package/dist/llm-billing.js +1 -1
  26. package/dist/notion.js +7 -7
  27. package/dist/opendesign.js +2 -2
  28. package/dist/package.json +6 -5
  29. package/dist/report.d.ts +42 -42
  30. package/dist/review.js +4 -4
  31. package/dist/reviewMemoryIo.js +1 -1
  32. package/dist/sentry.js +2 -2
  33. package/dist/skill-installer.js +3 -3
  34. package/dist/slack.js +2 -2
  35. package/dist/trackers/github-adapter.js +5 -5
  36. package/dist/trackers/index.js +46 -44
  37. package/dist/trackers/jira-adapter.js +24 -22
  38. package/dist/trackers/linear-adapter.js +19 -19
  39. package/dist/trackers/plane-adapter.js +1 -1
  40. package/dist/triggerAgent.js +1 -1
  41. package/dist/vikunja.d.ts +8 -1
  42. package/dist/vikunja.js +22 -7
  43. package/docs/templates/catalog-metadata.md +101 -0
  44. package/docs/templates/composition.md +97 -0
  45. package/docs/templates/deploy-time-config.md +228 -0
  46. package/docs/templates/index.md +138 -0
  47. package/docs/templates/models.md +157 -0
  48. package/docs/templates/node-declarations.md +149 -0
  49. package/docs/templates/remote-mcp.md +105 -0
  50. package/docs/templates/requires.md +183 -0
  51. package/docs/templates/sidecars.md +163 -0
  52. package/docs/templates/stores.md +113 -0
  53. package/docs/templates/surfaces.md +184 -0
  54. package/docs/templates/update-behavior.md +108 -0
  55. package/package.json +6 -5
@@ -0,0 +1,108 @@
1
+ ---
2
+ sidebar_position: 12
3
+ title: Update behavior
4
+ ---
5
+
6
+ # Update behavior
7
+
8
+ CloudFormation tells you, per property, whether a change updates the resource in
9
+ place or replaces it. Zibby's declaration model has the same question and four
10
+ answers. Every properties table in this section carries the column.
11
+
12
+ | Class | What happens on the next deploy |
13
+ |---|---|
14
+ | **Re-applied** | the platform re-runs the action — provision the store, register the sidecar, attach the endpoint, bind the server. Idempotent: nothing is duplicated and nothing working is broken |
15
+ | **Seeded once** | written on the **first** install only. Whatever the operator set afterwards survives every Update |
16
+ | **Card only** | reaches the catalog card and nothing else. A deployed agent never consumes it, so changing it never offers an Update |
17
+ | **Frozen** | baked into the deployed agent when it was installed. Changing it needs a re-deploy |
18
+
19
+ ---
20
+
21
+ ## Seeded once — the list
22
+
23
+ These are written on a fresh install and never again:
24
+
25
+ - [`selections`](./deploy-time-config.md#selections) — a value already set is kept, and the deploy tells you so
26
+ - [`defaultSchedule`](./deploy-time-config.md#defaultschedule) — **any** existing schedule blocks the seed, including a paused one
27
+ - [`deployInput`](./deploy-time-config.md#deployinput) values
28
+ - [`maxRuntimeMinutes`](./catalog-metadata.md)
29
+ - `defaultSlug` — an agent's name is fixed at first install
30
+
31
+ The rule behind all of them: **the platform never overwrites a decision you
32
+ made.** If your agent needs an operator to change something, say so in the
33
+ release notes; do not try to write it for them.
34
+
35
+ ---
36
+
37
+ ## Frozen — why a published fix does not reach a deployed agent
38
+
39
+ :::danger This is the one that surprises people
40
+ When you deploy an agent, the platform stores **that version's source** —
41
+ including its `package.json` and every version range in it — against the agent.
42
+ That copy is what runs, forever, until somebody re-deploys.
43
+
44
+ So publishing a fixed package **does not reach an agent that is already
45
+ running**. An agent installed against `^0.1.x` can never pick up a `0.2.x`. It
46
+ does not error; the runs simply keep failing the same way.
47
+ :::
48
+
49
+ **The fix is always a re-deploy** — take the Update on the agent's page, or
50
+ deploy the card again. There is no other route.
51
+
52
+ The same is true of the agent's `deps`, and of anything else that travels inside
53
+ the source bundle.
54
+
55
+ ---
56
+
57
+ ## What lights the "Update available" badge
58
+
59
+ Two independent signals, either of which is enough:
60
+
61
+ 1. **The template's files changed** — a checksum over your template directory.
62
+ 2. **The declaration changed** — a per-template signature over your
63
+ `spec` block, minus the fields listed as *Card only*.
64
+
65
+ The second exists because your `spec` block lives **outside** the
66
+ template directory, so a metadata-only change (a sidecar version pin, a new
67
+ `selections` picker) moves no source byte and the first signal cannot see it.
68
+
69
+ The rule the badge states, and the one to test your own field against:
70
+
71
+ > **Re-installing this agent from the current template would change this agent.**
72
+
73
+ A field is excluded from the signal only when updating provably changes nothing
74
+ for somebody already running it — tags, taglines, icons, capability bullets,
75
+ sample trigger bodies, and the release notes themselves. (Notes *describing* an
76
+ update cannot be the reason to offer one.)
77
+
78
+ :::tip Why your card is not showing an update
79
+ Two common causes:
80
+
81
+ - You changed only a *Card only* field. That is working as designed — the card
82
+ updated, nobody was offered a re-install.
83
+ - You added a new declared field to a template but the platform is not tracking
84
+ it yet. A field that is copied but not tracked only ever lands on rows written
85
+ for some other reason.
86
+ :::
87
+
88
+ ---
89
+
90
+ ## Idempotency, in practice
91
+
92
+ Everything in the *Re-applied* class is safe to run repeatedly:
93
+
94
+ | Action | On re-deploy |
95
+ |---|---|
96
+ | Store provisioning | the same store is re-used; a store you re-pointed by hand stays re-pointed |
97
+ | Sidecar registration | the same image, unless the pinned version or checksum moved |
98
+ | `requires` attachment | an existing link is kept; a stale one is replaced; one you added by hand is adopted |
99
+ | `remoteMcp` binding | matched by URL and left byte-for-byte, which is what keeps an OAuth grant alive |
100
+ | Member agents | re-deployed in place; the bindings do not churn |
101
+
102
+ And one thing that is not idempotent, by nature: **renaming**. A renamed store
103
+ is a new store; a renamed `slug` is a new agent. Nothing migrates the old one.
104
+
105
+ ## See also
106
+
107
+ - [The declaration model](./index.md)
108
+ - [Catalog metadata](./catalog-metadata.md) — release-notes rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zibby/skills",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Built-in skill definitions for the Zibby agent-workflow framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -73,7 +73,8 @@
73
73
  "./review": {
74
74
  "types": "./dist/review.d.ts",
75
75
  "default": "./dist/review.js"
76
- }
76
+ },
77
+ "./markup": {"types": "./dist/lib/markup.d.ts", "default": "./dist/lib/markup.js"}
77
78
  },
78
79
  "scripts": {
79
80
  "build": "node ../scripts/build.mjs && npm run build:types",
@@ -116,10 +117,10 @@
116
117
  "dependencies": {
117
118
  "@modelcontextprotocol/sdk": "^1.29.0",
118
119
  "@resvg/resvg-js": "^2.6.2",
119
- "@zibby/agent-workflow": "2.0.4",
120
+ "@zibby/agent-workflow": "2.0.6",
120
121
  "@zibby/bin-oxlint": "^1.73.0",
121
122
  "@zibby/bin-semgrep": "^1.169.0",
122
- "@zibby/skill-ids": "2.0.4",
123
+ "@zibby/skill-ids": "2.0.6",
123
124
  "echarts": "^6.1.0",
124
125
  "mem0ai": "npm:@zibby/mem0ai@^3.0.5",
125
126
  "zod": "^3.23.0 || ^4.0.0"
@@ -134,7 +135,7 @@
134
135
  }
135
136
  },
136
137
  "optionalDependencies": {
137
- "@zibby/mcp-browser": "2.0.4",
138
+ "@zibby/mcp-browser": "2.0.6",
138
139
  "@zibby/mcp-memory": "*"
139
140
  },
140
141
  "devDependencies": {