@team-semicolon/semicolony-cli 4.18.68 → 4.18.69

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/bundle.js CHANGED
@@ -3133,7 +3133,7 @@ ${e}`}function Yjr(t={}){let e=Buffer.alloc(0);process.stdin.on("data",r=>{e=Buf
3133
3133
  COALESCE(last_doctor_summary -> 'worker_release_capabilities', '[]'::jsonb)
3134
3134
  ) = 'array'
3135
3135
  AND COALESCE(last_doctor_summary -> 'worker_release_capabilities', '[]'::jsonb)
3136
- @> jsonb_build_array($2)
3136
+ @> jsonb_build_array($2::text)
3137
3137
  )
3138
3138
  THEN 'missing-capability'
3139
3139
  ELSE NULL
@@ -0,0 +1,33 @@
1
+ -- 177_worker_release_gateway_relocation_grants.sql
2
+ --
3
+ -- The worker registry moved to the active Knowledge Fabric schema after the
4
+ -- original release Gateway grants (171) had already been recorded. Re-apply
5
+ -- only the read/report columns that the Gateway requires. The active registry
6
+ -- schema already grants sc_app schema usage; use only qualified table grants so
7
+ -- the migration runner can retarget every executable relation reference.
8
+
9
+ GRANT SELECT (
10
+ device_id,
11
+ worker_id,
12
+ gateway_credential_id,
13
+ status,
14
+ installed_profile_id,
15
+ applied_release_id,
16
+ applied_release_version,
17
+ applied_at
18
+ ) ON TABLE semicolony.worker_devices TO sc_app;
19
+
20
+ GRANT UPDATE (
21
+ last_seen_at,
22
+ last_doctor_status,
23
+ last_doctor_summary,
24
+ applied_release_id,
25
+ applied_release_version,
26
+ applied_at
27
+ ) ON TABLE semicolony.worker_devices TO sc_app;
28
+
29
+ GRANT SELECT (profile_id, active_release_id)
30
+ ON TABLE semicolony.workspace_profiles TO sc_app;
31
+
32
+ GRANT SELECT (release_id, profile_id, version, status, manifest, manifest_sha256)
33
+ ON TABLE semicolony.worker_profile_releases TO sc_app;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-semicolon/semicolony-cli",
3
- "version": "4.18.68",
3
+ "version": "4.18.69",
4
4
  "description": "SemiColony CLI - AI operations and agent orchestration installer",
5
5
  "main": "dist/bundle.js",
6
6
  "bin": {