sil-openclaw 0.3.4 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,55 @@ release (`clawhub package publish --changelog`). See [README](./README.md#releas
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.3.6] - 2026-06-29
14
+
15
+ ### Changed
16
+
17
+ - **Profile tool surface consolidated to the singleton — 9 tools → 8.** `sil_profile_list`
18
+ is **deleted**, folded into `sil_profile_get`: called with **no arguments**, `sil_profile_get`
19
+ now returns the shopper overview (the shared `userSpec` + the domains index + any degraded
20
+ directory in `unreadable[]`), and an empty store reads back `ok` (empty-is-healthy), never
21
+ `not_found`. The caller-supplied **`agentId` is dropped** from all four profile tools
22
+ (`sil_profile_materialize`, `sil_profile_get`, `sil_remember`, `sil_profile_remove`): the
23
+ product is a **singleton** shopper, so the artefact store re-scopes from the per-agent
24
+ `$SIL_DATA_DIR/agents/<agentId>/` to a fixed `$SIL_DATA_DIR/shopper/` — the keying segment
25
+ is now a compile-time constant (un-spoofable), and the only caller-supplied path segment is
26
+ the domain `slug`, still guarded (lower-kebab, not `main`) before any join. Slimmer
27
+ signatures: `sil_profile_get(domainSlug?)`, `sil_profile_materialize(name, userSpec, domain?)`,
28
+ `sil_remember(kind, text, domain?, hard?)`, `sil_profile_remove(domainSlug)`. `sil_remember`
29
+ and `sil_profile_materialize` stay two distinct tools (the #39 cheap-append / whole-doc split);
30
+ `sil_profile_remove` stays standalone, destructive, confirm-gated. No backwards-compat path —
31
+ old `agents/<id>/` data is orphaned, not migrated. Manifest `contracts.tools` + skill bundle +
32
+ every exact-set drift mirror updated to the 8-tool floor.
33
+ - **`sil-shopping` skill rewritten for the single multi-domain shopper.** The skill
34
+ bundle now drives the model shipped by Slice 1 (#38): **one** persistent shopper (a
35
+ generalist created once) that learns **domains** (niches) on first shop, replacing
36
+ the retired per-niche-expert flow with **no backwards-compat path**. Onboarding
37
+ collapses to a two-touchpoint create (persona + the shared cross-niche user spec —
38
+ no niche research at create); the shop loop classifies the niche, **reuses a learned
39
+ domain or mints a new one on the fly** (announced + correctable, with semantic slug
40
+ dedup to avoid fragmentation), layers intent over the active domain's taste over the
41
+ shared facts over the domain mechanics, and learns every query via the cheap
42
+ `sil_remember` append (a person fact carries across niches; a niche taste stays in
43
+ that domain). A second create is refused — the shopper is a singleton. The
44
+ `tools.alsoAllow` admission step (#37) and the `sil_remember` per-query persist (#39)
45
+ are preserved. Four references were renamed to match the vocabulary:
46
+ `expert_shopping.md`→`shop_loop.md`, `manage_experts.md`→`manage_domains.md`,
47
+ `refine_expert.md`→`refine_shopper.md`,
48
+ `road_cycling_expert_walkthrough.md`→`multi_domain_shopper_walkthrough.md`. Skill
49
+ prose + tests only — no plugin code or manifest change.
50
+
51
+ ## [0.3.5] - 2026-06-27
52
+
53
+ ### Changed
54
+
55
+ - **Catalog description rewritten to "Turn your OpenClaw into an expert shopping
56
+ agent."** — the same line now in both `package.json#description` and
57
+ `openclaw.plugin.json#description`. ClawHub crops the catalog card at 10 words, and
58
+ the old opener ("OpenClaw plugin for sil — …") spent those words on what the listing
59
+ already shows (the package is `@4gpts/sil`). The new line is benefit-led and names the
60
+ shopping-expert headline feature within the visible crop.
61
+
13
62
  ## [0.3.4] - 2026-06-25
14
63
 
15
64
  ### Fixed
package/README.md CHANGED
@@ -146,9 +146,9 @@ agent searched sil — endurance, 54cm for your fit, ~€1500:
146
146
  first bike — and it's inside your budget. Want detail or a link?
147
147
  ```
148
148
 
149
- > **You teach it once; it stays an expert.** It keeps your facts and taste, web-refreshes its niche knowledge each visit, and never re-asks what it already knows. List the experts you've made, look at how one is set up, retire one you're done with — or **refine** one from what it watched you reject, so it gets sharper every session.
149
+ > **You teach it once; it stays sharp.** It keeps your facts and taste, web-refreshes its niche knowledge each visit, and never re-asks what it already knows. See what your shopper knows and which domains it has learned, look at how a domain is set up, forget one you're done with — or **refine** the shopper or a domain from what it watched you reject, so it gets sharper every session.
150
150
 
151
- **What it remembers, and where it lives.** A dedicated expert learns your shopping-relevant facts as it goes — measurements, budget band, the rules it must never break, brand likes/dislikes — captured **only when a request actually needs them** (never a big up-front form) so it doesn't re-ask. All of it is stored **locally on your machine** (`$SIL_DATA_DIR/agents/<id>/`, owner-only `0600`), **per-user and per-expert**. It is **never pooled across users and never sent to a server** for training or aggregation — creating and running an expert is local and offline. The niche web-refresh reads public sources to keep the *domain* knowledge current; it does not upload anything about you. Inspect exactly what an expert holds with `sil_profile_get`, and delete an expert and everything it remembered with `sil_profile_remove`.
151
+ **What it remembers, and where it lives.** Your shopper learns your shopping-relevant facts as it goes — measurements, budget band, the rules it must never break, brand likes/dislikes — captured **only when a request actually needs them** (never a big up-front form) so it doesn't re-ask. All of it is stored **locally on your machine** (`$SIL_DATA_DIR/shopper/`, owner-only `0600`), **per-user (one shopper, many domains)**. It is **never pooled across users and never sent to a server** for training or aggregation — creating and running your shopper is local and offline. The niche web-refresh reads public sources to keep the *domain* knowledge current; it does not upload anything about you. Inspect exactly what your shopper holds with `sil_profile_get`, and forget one domain it learned with `sil_profile_remove`.
152
152
 
153
153
  ---
154
154
 
@@ -170,14 +170,13 @@ Namespaced `sil_*` so they never collide with other plugins. Your agent calls th
170
170
  | `sil_search` | Search for purchasable products. A free-text `query` plus optional filters: `category`, `price_min`/`price_max`, `ship_to` (delivery destination — leave empty to ship to your registered address), `condition` (`new` / `secondhand`), `available`, and `local_merchants` (best-effort bias toward shops in the user's own country). Results are **localized** to the shopper; when they ask for local shops you can *optionally* issue the `query` in that country's language to surface more of them (e.g. a French query surfaces French stores) — a tactic, not a requirement, and never an override of a language the user deliberately chose. Returns a ranked list of variants — each with `id`, `title`, `price`, `availability`, `checkout_url`, `source`, plus (where the source provides them) evaluate-before-buy detail: a product/variant `url` to view, a `description`, `media`, the product `options`, and the `seller`'s **shipping & return policy links** — and a pagination `cursor`. Location filters take ISO codes (`US`, `CA`), not place names. |
171
171
  | `sil_product_get` | Resolve `ids` you already hold to full products in UCP shape — `description`, `options`, `media`, the `seller`'s shipping & return policy links, and the featured purchasable variant with fresh `price`, `availability`, `url` (the page to view), and `checkout_url` (the link that buys). Re-fetch right before buying; those values are point-in-time, not guarantees. Ids that no longer resolve come back in `not_found`. |
172
172
 
173
- **Experts** — create and manage dedicated shopping agents
173
+ **Your shopper** — create one shopper, then manage the domains it learns
174
174
 
175
175
  | Tool | What it does |
176
176
  |---|---|
177
- | `sil_profile_materialize` | Persist a created expert's SDS behaviour artefacts — `domain_spec.md` (deep researched niche expertise) + `intent_spec.md` (the decomposition-dimension schema) + `user_spec.md` (your facts + hard constraints) + `playbook.md` (your buying taste), all four required and present from creation, plus a `profile.json` manifest — under `$SIL_DATA_DIR/agents/<id>/`. (The persona is the agent's host workspace `SOUL.md`, not a sil artefact.) Driven by the skill's creation engine once you endorse the draft, and again per-query to web-refresh the domain and augment your facts/taste; validate-first and fail-closed, it never clobbers an existing expert. |
178
- | `sil_profile_list` | List the experts you've created, most-recently-made first. Takes no arguments. |
179
- | `sil_profile_get` | Show one expert in full — `name`, its `domainSpec` + `intentSpec` + `userSpec` + `playbook` (all four present), manifest path, and `createdAt`. |
180
- | `sil_profile_remove` | Delete one expert's behaviour artefacts. Scoped and idempotent; the agent confirms with you before removing. |
177
+ | `sil_profile_materialize` | Write your shopper's behaviour artefacts under `$SIL_DATA_DIR/shopper/`. One tool, two modes: **create** your shopper (the shared, cross-niche `user_spec.md` + a `profile.json` manifest, no niche pack), or **mint/refresh a domain** the first time you shop a niche (that niche's `domain_spec.md` (deep researched niche expertise) + `intent_spec.md` (the decomposition-dimension schema) + `playbook.md` (your niche shopping taste), alongside the shared `user_spec.md`). (The persona is the agent's host workspace `SOUL.md`, not a sil artefact.) Validate-first and fail-closed; it never clobbers an existing domain, and a second shopper is refused. |
178
+ | `sil_profile_get` | Show your shopper — with **no arguments**, the overview (`name`, the shared `userSpec`, the domain index of everything it has learned; an empty store is healthy); pass a `domainSlug` for one domain's `domainSpec` + `intentSpec` + `playbook`. |
179
+ | `sil_profile_remove` | Forget ONE domain — pass its `domainSlug`; your shopper, your shared facts, and every other domain survive. Scoped and idempotent; the agent confirms with you before removing. |
181
180
 
182
181
  ---
183
182
 
@@ -185,8 +184,8 @@ Namespaced `sil_*` so they never collide with other plugins. Your agent calls th
185
184
 
186
185
  The plugin ships one bundled skill — **`sil-shopping`** 🛒 — that your agent loads automatically the first time you express a shopping intent. You don't invoke it; it's the playbook that makes the tools work well together:
187
186
 
188
- - **Routes intent to the right tool.** *"find me a keyboard"* → `sil_search`, *"look these up"* → `sil_product_get`, *"who am I?"* → `sil_whoami`, *"sign me up"* → `sil_register`, *"make me an expert for X"* → the create flow, *"list / show / remove my experts"* → the `sil_profile_*` tools.
189
- - **Interviews lightly, then researches deeply.** Asked for a shopping expert, it runs a light interview (≤10 questions) to shape the niche and persona *with* you, then researches the niche itself and derives how to decompose every request — and creates nothing until you explicitly endorse the assembled draft.
187
+ - **Routes intent to the right tool.** *"find me a keyboard"* → `sil_search`, *"look these up"* → `sil_product_get`, *"who am I?"* → `sil_whoami`, *"sign me up"* → `sil_register`, *"set up my shopper"* → the create flow, *"what does my shopper know / forget the grocery domain"* → the `sil_profile_*` tools.
188
+ - **One shopper, many niches — minted on the fly.** Asked to set up shopping, it runs a short two-touchpoint onboarding (how your shopper should behave + your cross-niche facts and hard rules) and creates **one** shopper — creating nothing until you explicitly endorse the draft. From then on it shops *any* niche: it classifies what you're buying, reuses a niche it has already learned or **researches a new one on the spot** (announced, so you can correct it), and derives how to decompose every request — learning your facts and taste as it goes.
190
189
  - **Recovers the right way.** Every tool reports a status; the skill follows that tool's own recovery hint — re-register, fix the query, or retry — instead of guessing a fix that won't work.
191
190
  - **Keeps prices honest.** It treats price, availability, and checkout links as point-in-time and re-checks an item right before you buy, so the link you get is the link you pay.
192
191