@logic-joe/fleek 0.2.2 → 0.2.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/dist/fleek.mjs +10127 -9932
- package/package.json +1 -1
- package/service-agents/kit-setup +3 -0
- package/service-agents/run-job +2 -1
package/package.json
CHANGED
package/service-agents/kit-setup
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
# (service account: the admin's approval of the signed kit is the confirmation; needs the `claude` CLI on the host, used only for
|
|
10
10
|
# `plugin install|list`); run-job copies their skill Markdown read-only into the review container. Ready only when every declared
|
|
11
11
|
# plugin is installed in the approved version with a skills/ directory (VF-R2: `kit run --dry-run` names each gap with its reason).
|
|
12
|
+
# KIT-PLUGIN-BIND: only a plugin bound to a commit in the signed kit is installed here, only while its source serves exactly that
|
|
13
|
+
# commit, and used only when Claude Code records that commit; an unbound plugin is reported "unbound" (the admin binds it in the kit).
|
|
12
14
|
# Usage: sudo /opt/fleek-agents/kit-setup review (then: systemctl restart fleek-agent-review.service)
|
|
13
15
|
set -euo pipefail
|
|
14
16
|
if [ "${1:-}" != --as-broker ]; then
|
|
@@ -72,6 +74,7 @@ for gap in json.load(sys.stdin).get("vendorPluginsMissing", [])[:5]:
|
|
|
72
74
|
if [ -n "$gaps" ]; then
|
|
73
75
|
printf 'run-job is NOT ready for the vendor skills of the approved kits (the job would run without them):\n%s\n' "$gaps" >&2
|
|
74
76
|
echo 'Fix: install / enable the approved version for this account (re-run this setup), or ask the admin to approve the installed version.' >&2
|
|
77
|
+
echo 'unbound / other_commit: the admin binds the plugin to the commit the source serves (new kit version); nothing unbound is installed here.' >&2
|
|
75
78
|
exit 13
|
|
76
79
|
fi
|
|
77
80
|
# Exit 13 of `kit setup` here only means optional host entries stayed open (e.g. MCP proposals answered N); the job needs none.
|
package/service-agents/run-job
CHANGED
|
@@ -160,7 +160,8 @@ def host_report(fleek, provider_auth, kit=None, last_job_at=None, timeout=20):
|
|
|
160
160
|
PLUGIN_NAME = re.compile(r"[a-z0-9][a-z0-9._-]{0,63}")
|
|
161
161
|
PLUGIN_VERSION = re.compile(r"[0-9A-Za-z.+-]{1,64}")
|
|
162
162
|
PLUGIN_ID = re.compile(r"[a-z0-9][a-z0-9._-]{0,63}@[a-z0-9][a-z0-9._-]{0,63}")
|
|
163
|
-
|
|
163
|
+
# KIT-PLUGIN-BIND: "unbound" (no commit in the signed kit: never installed here) and "other_commit" (the install is not the bound commit)
|
|
164
|
+
VENDOR_GAP_REASONS = ("other_version", "other_commit", "unbound", "disabled", "missing", "unchecked", "unverified", "error", "no_client", "outside_cache", "no_skills")
|
|
164
165
|
VENDOR_MAX_FILES, VENDOR_MAX_BYTES, VENDOR_MAX_ENTRIES, VENDOR_MAX_FILE = 2000, 8 * 1024 * 1024, 10000, 1024 * 1024
|
|
165
166
|
|
|
166
167
|
|