@north-light/cli 0.3.764 → 0.3.765

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.
@@ -1 +1 @@
1
- var S=Object.defineProperty;var a=(e,r)=>S(e,"name",{value:r,configurable:!0});import{directoryIssuer as v}from"../directory/issuer.js";import{outboundFetch as $}from"../events/outbound.js";import{warn as u}from"../output.js";import{canonicalJson as _,principalPayer as k}from"./mirror.js";let y=5e3;function T(e){y=e}a(T,"setShadowTtl");const A=512,M=["status","scopes","resolved_scopes","spend_cap","payer","dependencies","run_notice_url","inference_endpoint"];function z(){g.clear()}a(z,"resetShadowCache");const g=new Map,f=new Map,o={agree:0,disagree:0,lagging:0,error:0};async function x(e,r,n){const{mintDirectoryToken:i}=await import("./sync.js"),c=await i(e),t=n?`&epochs=${n.epochs.global},${n.epochs.sub}`:"",s=`${e}/v1/runtime/grant-answers?sub=${encodeURIComponent(r)}${t}`,d=await $("grant_shadow",s,{headers:{Authorization:`Bearer ${c.access_token}`},signal:AbortSignal.timeout(1e4)});if(!d.ok)throw new Error(`grant-answers ${d.status}`);const p=await d.json();if(p.unchanged){if(!n)throw new Error("grant-answers said unchanged to a caller holding nothing");return{...n,epochs:p.epochs,checkedAt:Date.now()}}return{epochs:p.epochs,grants:new Map((p.grants??[]).map(m=>[String(m.id),m])),checkedAt:Date.now()}}a(x,"fetchAnswer");async function b(e,r){const n=g.get(r);if(n&&Date.now()-n.checkedAt<y)return n;const i=f.get(r);if(i)return i;const c=x(e,r,n).then(t=>(g.delete(r),g.set(r,t),g.size>A&&g.delete(g.keys().next().value),t)).finally(()=>f.delete(r));return f.set(r,c),c}a(b,"answerFor");const h=new Set;async function P(){await Promise.all([...h])}a(P,"shadowIdle");async function C(e){const r=v();if(r===null)return;const n=(await b(r,e.sub)).grants.get(e.id);if(!n){o.disagree++,u(`grant_shadow disagree ${JSON.stringify({grant:e.id,sub:e.sub,fields:["missing"]})}`);return}if(n.rev!==e.rev){o.lagging++;return}const i={...n,payer:k(n.payer,e.sub,e.grantee)},c={...e,resolved_scopes:O(e.resolved_scopes,n.resolved_scopes)},t=M.filter(s=>_(i[s]??null)!==_(c[s]??null));if(t.length===0){o.agree++;return}o.disagree++,u(`grant_shadow disagree ${JSON.stringify({grant:e.id,sub:e.sub,rev:e.rev,fields:t})}`)}a(C,"compare");function O(e,r){if(!Array.isArray(r))return e;const n=new Set(r.flatMap(t=>{const s=t?.scope;return typeof s=="string"?[s]:[]})),i=new Set([...n].filter(t=>t.endsWith(":*")).map(t=>t.slice(0,-2)));if(i.size===0)return e;const c=new Set;return e.flatMap(t=>{const s=t.scope.slice(0,t.scope.indexOf(":"));return s==="crtr"||!i.has(s)||n.has(t.scope)?[t]:c.has(s)?[]:(c.add(s),[{...t,scope:`${s}:*`}])})}a(O,"compactLike");let w,l={agree:0,disagree:0,lagging:0,error:0};function D(){w||(w=setInterval(()=>{const e={agree:o.agree-l.agree,disagree:o.disagree-l.disagree,lagging:o.lagging-l.lagging,error:o.error-l.error};l={...o},e.agree+e.disagree+e.lagging+e.error>0&&u(`grant_shadow_summary ${JSON.stringify({window_s:60,...e})}`)},6e4),w.unref())}a(D,"startSummary");function U(e){if(!process.env.CRTR_RUNTIME)return;D();const r=C(e).catch(n=>{o.error++,u(`grant_shadow error ${JSON.stringify({grant:e.id,message:n instanceof Error?n.message:String(n)})}`)}).finally(()=>h.delete(r));h.add(r)}a(U,"shadowCheck");export{z as resetShadowCache,T as setShadowTtl,U as shadowCheck,o as shadowCounts,P as shadowIdle};
1
+ var $=Object.defineProperty;var a=(e,n)=>$(e,"name",{value:n,configurable:!0});import{directoryIssuer as v}from"../directory/issuer.js";import{outboundFetch as A}from"../events/outbound.js";import{warn as u}from"../output.js";import{canonicalJson as f,principalPayer as M}from"./mirror.js";let S=5e3;function z(e){S=e}a(z,"setShadowTtl");const k=512,x=["status","scopes","resolved_scopes","spend_cap","payer","dependencies","run_notice_url","inference_endpoint"];function P(){d.clear()}a(P,"resetShadowCache");const d=new Map,w=new Map,c={agree:0,disagree:0,lagging:0,error:0};async function O(e,n,r){const{mintDirectoryToken:o}=await import("./sync.js"),i=await o(e),g=r?`&epochs=${r.epochs.global},${r.epochs.sub}`:"",t=`${e}/v1/runtime/grant-answers?sub=${encodeURIComponent(n)}${g}`,s=await A("grant_shadow",t,{headers:{Authorization:`Bearer ${i.access_token}`},signal:AbortSignal.timeout(1e4)});if(!s.ok)throw new Error(`grant-answers ${s.status}`);const l=await s.json();if(l.unchanged){if(!r)throw new Error("grant-answers said unchanged to a caller holding nothing");return{...r,epochs:l.epochs,checkedAt:Date.now()}}return{epochs:l.epochs,grants:new Map((l.grants??[]).map(_=>[String(_.id),_])),checkedAt:Date.now()}}a(O,"fetchAnswer");async function b(e,n){const r=d.get(n);if(r&&Date.now()-r.checkedAt<S)return r;const o=w.get(n);if(o)return o;const i=O(e,n,r).then(g=>(d.delete(n),d.set(n,g),d.size>k&&d.delete(d.keys().next().value),g)).finally(()=>w.delete(n));return w.set(n,i),i}a(b,"answerFor");const h=new Set;async function U(){await Promise.all([...h])}a(U,"shadowIdle");async function C(e){const n=v();if(n===null)return;const r=(await b(n,e.sub)).grants.get(e.id);if(!r){c.disagree++,u(`grant_shadow disagree ${JSON.stringify({grant:e.id,sub:e.sub,fields:["missing"]})}`);return}if(r.rev!==e.rev){c.lagging++;return}const o={...r,payer:M(r.payer,e.sub,e.grantee)},i={...e,resolved_scopes:J(e.resolved_scopes,r.resolved_scopes)},g=x.filter(t=>t==="resolved_scopes"?y(o[t])!==y(i[t]):f(o[t]??null)!==f(i[t]??null));if(g.length===0){c.agree++;return}c.disagree++,u(`grant_shadow disagree ${JSON.stringify({grant:e.id,sub:e.sub,rev:e.rev,fields:g})}`)}a(C,"compare");function y(e){return Array.isArray(e)?JSON.stringify([...new Set(e.map(n=>`${n.scope}|${n.mode}`))].sort()):f(e??null)}a(y,"scopeSet");function J(e,n){if(!Array.isArray(n))return e;const r=new Set(n.flatMap(t=>{const s=t?.scope;return typeof s=="string"?[s]:[]})),o=new Set([...r].filter(t=>t.endsWith(":*")).map(t=>t.slice(0,-2)));if(o.size===0)return e;const i=new Set;return e.flatMap(t=>{const s=t.scope.slice(0,t.scope.indexOf(":"));if(s==="crtr"||!o.has(s))return[t];const l=i.has(s)?[]:[{...t,scope:`${s}:*`}];return i.add(s),r.has(t.scope)?[t,...l]:l})}a(J,"compactLike");let m,p={agree:0,disagree:0,lagging:0,error:0};function N(){m||(m=setInterval(()=>{const e={agree:c.agree-p.agree,disagree:c.disagree-p.disagree,lagging:c.lagging-p.lagging,error:c.error-p.error};p={...c},e.agree+e.disagree+e.lagging+e.error>0&&u(`grant_shadow_summary ${JSON.stringify({window_s:60,...e})}`)},6e4),m.unref())}a(N,"startSummary");function B(e){if(!process.env.CRTR_RUNTIME)return;N();const n=C(e).catch(r=>{c.error++,u(`grant_shadow error ${JSON.stringify({grant:e.id,message:r instanceof Error?r.message:String(r)})}`)}).finally(()=>h.delete(n));h.add(n)}a(B,"shadowCheck");export{P as resetShadowCache,z as setShadowTtl,B as shadowCheck,c as shadowCounts,U as shadowIdle};
@@ -5,7 +5,7 @@ var ue=Object.defineProperty;var c=(t,n)=>ue(t,"name",{value:n,configurable:!0})
5
5
  ) SELECT 1 AS hit FROM chain WHERE type = 'repo' LIMIT 1`).get(n.id)!==void 0}c(X,"inRepoSpace");async function M(t,n,e){if(e!=="public"&&await X(t,n))throw d(`a repo owns only public documents; ${n.name} cannot own a ${e} one`,{rule:"repo-public-only",next:"Write it as public, or give it another owner (your own documents can carry `if: {repo: <handle>}`)."})}c(M,"assertPublicInRepo");async function W(t,n,e,a){if(e.trim()===""||e!==e.trim())throw d(`invalid document name ${JSON.stringify(e)}`);const i=await t.prepare("SELECT id FROM objects WHERE (type = 'document' OR strpos(type, '.') > 0) AND owner = ? AND name = ? AND deleted_at IS NULL AND home_machine IS NULL").get(n.id,e);if(i&&i.id!==a?.id)throw Ie(`${n.name} already has a document named ${e}`,{name:e,holder:i.id})}c(W,"assertNameFree");async function U(t,n,e){if(!await A(t,n,"read",e.id))throw g(`no document ${e.id}`)}c(U,"readable");function z(t){return new N("scope_missing",`missing scope ${t}`,R.GENERAL,{scope:t})}c(z,"scopeMissing");async function O(t,n,e){await U(t,n,e);const{source_path:a}=await T(t,e);if(a!==null)throw new N("forbidden",`${e.name} is a built-in document shipped by a package; \`crtr doc\` cannot change it`,R.GENERAL,{id:e.id,next:"Edit it in the source repository of the package that ships it (for crtr's own documents, the crouter repo), not with `crtr doc`."});const i=await Y(t,n,e.id,"rw");if(i!==null)throw z(i);if(!await A(t,n,"edit",e.id))throw new N("forbidden",`you cannot change ${e.name}`,R.GENERAL,{id:e.id})}c(O,"changeable");async function Q(t,n){const e=await t.prepare(`SELECT p.rev_id FROM revision_parents rp JOIN revisions p ON p.rev_id = rp.parent
6
6
  WHERE rp.child = ? ORDER BY p.rev_id`).all(n.rev_id);return{rev_id:n.rev_id,seq:n.seq,number:n.number,body_hash:n.body_hash,author:n.author,rationale:n.rationale,verbatim:n.verbatim===1,created_at:n.created_at,acting_app:n.acting_app,acting_for:n.acting_for,parents:e.map(a=>a.rev_id)}}c(Q,"toRevision");async function j(t,n){const e=await t.prepare(`SELECT * FROM revisions r WHERE r.document = ?
7
7
  AND NOT EXISTS (SELECT 1 FROM revision_parents p WHERE p.parent = r.rev_id) ORDER BY r.number DESC, r.rev_id`).all(n.id);return await k(e,async a=>await Q(t,a))}c(j,"heads");function $e(t){return t.map(n=>n.rev_id).sort().join(",")}c($e,"headsKeyOf");async function T(t,n){const e=await t.prepare("SELECT * FROM documents WHERE object = ?").get(n.id);if(!e)throw g(`no document record for ${n.id}`);return{summary:e.summary,heads_key:e.heads_key,revision:e.revision,why_it_exists:e.why_it_exists,unlisted:e.unlisted===1,lint_ignore:e.lint_ignore_json===null?null:JSON.parse(e.lint_ignore_json),extensions:e.extensions_json===null?null:JSON.parse(e.extensions_json),source_path:e.source_path}}c(T,"documentRecord");async function D(t,n,e){const a=await t.prepare(`INSERT INTO revisions (document, rev_id, number, body_hash, author, rationale, verbatim, created_at, acting_app, acting_for)
8
- VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING *`).get(n.id,e.rev_id??we(),e.number,e.body_hash,e.author?.id??null,e.rationale,e.verbatim?1:0,e.created_at??new Date().toISOString(),e.acting?.app??null,e.acting?.for??null),i=t.prepare("INSERT INTO revision_parents (child, parent) VALUES (?, ?)");for(const r of e.parents)await i.run(a.rev_id,r);return a}c(D,"insertRevision");function He(t){const n=new Set;for(const e of t.matchAll(/\[\[([^[\]\n]+?)\]\]/g))n.add(e[1].trim());return[...n]}c(He,"linksIn");async function Z(t,n,e){const a=[],i=[];for(const[r,o]of await ye(t,n,e))"object"in o?a.push({written_as:r,dst:o.object}):"deleted"in o?a.push({written_as:r,dst:o.deleted}):"remote"in o||i.push(r);return{links:a,unresolved:i}}c(Z,"resolveLinks");async function b(t,n,e,a,i){const r=He(a),o=await Z(t,await ee(t,e,i)??n,r),w=new Set(o.links.map(l=>l.written_as)),u=(await G(t,e)).filter(l=>r.includes(l.written_as)&&!w.has(l.written_as)),s=[...o.links,...u],p=new Set(u.map(l=>l.written_as)),m=o.unresolved.filter(l=>!p.has(l));return await oe(t,await q(t,e,s)),await de(t,e,m),m}c(b,"setRevisionLinks");async function ee(t,n,e){const a=n.owner==null?null:await f(t,n.owner);return n.deleted_at||n.home_machine!==null||!a||a.deleted_at?null:a.type==="node"?await Ne(t,a.id,e??(async()=>[]),Ee(t),!0):await ge(t,n,e).catch(i=>{if(i instanceof ve)return null;throw i})}c(ee,"ownerView");async function F(t,n,e){const a=new Map;for(const{src:i,name:r}of await fe(t,n.name,n.id))a.set(i,[...a.get(i)??[],r]);for(const[i,r]of a){const o=await f(t,i),w=o?await ee(t,o,e):null;if(!o||!w)continue;const u=(await Z(t,w,r)).links.filter(s=>s.dst.id===n.id);u.length!==0&&(await q(t,o,[...await G(t,o),...u]),await me(t,o,u.map(s=>s.written_as)))}}c(F,"linkNewlyNamed");async function Ce(t,n){const e=n.filter(r=>r.ownerType!=="node"),a=new Set,i=c((r,o,w)=>JSON.stringify([r,o,w]),"key");if(e.length>0){const r=await t.prepare(`SELECT DISTINCT v.owner_name, v.owner_type, v.name
8
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING *`).get(n.id,e.rev_id??we(),e.number,e.body_hash,e.author?.id??null,e.rationale,e.verbatim?1:0,e.created_at??new Date().toISOString(),e.acting?.app??null,e.acting?.for??null),i=t.prepare("INSERT INTO revision_parents (child, parent) VALUES (?, ?)");for(const r of e.parents)await i.run(a.rev_id,r);return a}c(D,"insertRevision");function He(t){const n=new Set;for(const e of t.matchAll(/\[\[([^[\]\n]+?)\]\]/g))n.add(e[1].trim());return[...n]}c(He,"linksIn");async function Z(t,n,e){const a=[],i=[];for(const[r,o]of await ye(t,n,e))"object"in o?a.push({written_as:r,dst:o.object}):"deleted"in o?a.push({written_as:r,dst:o.deleted}):"remote"in o||i.push(r);return{links:a,unresolved:i}}c(Z,"resolveLinks");async function b(t,n,e,a,i){const r=He(a),o=await Z(t,await ee(t,e,i)??n,r),w=new Set(o.links.map(l=>l.written_as)),u=(await G(t,e)).filter(l=>r.includes(l.written_as)&&!w.has(l.written_as)),s=[...o.links,...u],p=new Set(u.map(l=>l.written_as)),m=o.unresolved.filter(l=>!p.has(l));return await oe(t,await q(t,e,s)),await de(t,e,m),m}c(b,"setRevisionLinks");async function ee(t,n,e){const a=n.owner==null?null:await f(t,n.owner);return n.deleted_at||n.home_machine!==null||!a||a.deleted_at?null:a.type==="node"?await Ne(t,a.id,e??(async()=>[]),Ee(t),!0):a.type==="person"?{class:"person",person:a}:await ge(t,n,e).catch(i=>{if(i instanceof ve)return null;throw i})}c(ee,"ownerView");async function F(t,n,e){const a=new Map;for(const{src:i,name:r}of await fe(t,n.name,n.id))a.set(i,[...a.get(i)??[],r]);for(const[i,r]of a){const o=await f(t,i),w=o?await ee(t,o,e):null;if(!o||!w)continue;const u=(await Z(t,w,r)).links.filter(s=>s.dst.id===n.id);u.length!==0&&(await q(t,o,[...await G(t,o),...u]),await me(t,o,u.map(s=>s.written_as)))}}c(F,"linkNewlyNamed");async function Ce(t,n){const e=n.filter(r=>r.ownerType!=="node"),a=new Set,i=c((r,o,w)=>JSON.stringify([r,o,w]),"key");if(e.length>0){const r=await t.prepare(`SELECT DISTINCT v.owner_name, v.owner_type, v.name
9
9
  FROM unnest(?::text[], ?::text[], ?::text[]) AS v(owner_name, owner_type, name)
10
10
  JOIN objects o ON o.name = v.owner_name AND o.type <> v.owner_type AND o.type IN ('person','app','repo','profile','group')
11
11
  JOIN objects d ON d.owner = o.id AND d.type = 'document' AND d.name = v.name AND d.deleted_at IS NULL`).all(e.map(o=>o.ownerName),e.map(o=>o.ownerType),e.map(o=>o.name));for(const o of r)a.add(i(o.owner_name,o.owner_type,o.name))}return n.map(r=>r.ownerType==="node"?r.ownerName:a.has(i(r.ownerName,r.ownerType,r.name))?`${r.ownerType}:${r.ownerName}`:r.ownerName)}c(Ce,"ownerPrefixes");async function te(t,n,e){const i=(await t.prepare(`SELECT e.written_as, o.*, w.type AS owner_type, CASE WHEN w.type = 'node' THEN w.id ELSE w.name END AS owner_handle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/cli",
3
- "version": "0.3.764",
3
+ "version": "0.3.765",
4
4
  "description": "crtr — agent runtime with memory, plugins, and marketplaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -157,8 +157,8 @@
157
157
  },
158
158
  "license": "UNLICENSED",
159
159
  "dependencies": {
160
- "@north-light/identity": "0.3.764",
161
- "@north-light/plugin": "0.3.764",
160
+ "@north-light/identity": "0.3.765",
161
+ "@north-light/plugin": "0.3.765",
162
162
  "@earendil-works/chord": "1.5.2",
163
163
  "@earendil-works/pi-agent-core": "1.5.2",
164
164
  "@earendil-works/pi-ai": "1.5.2",
@@ -70,7 +70,9 @@ async function compare(stored) {
70
70
  // The directory may still send the older `'user'`/`'app'` payer; the mirror stores it as a principal.
71
71
  const liveSide = { ...live, payer: principalPayer(live['payer'], stored.sub, stored.grantee) };
72
72
  const storedSide = { ...stored, resolved_scopes: compactLike(stored.resolved_scopes, live['resolved_scopes']) };
73
- const fields = COMPARED.filter((key) => canonicalJson(liveSide[key] ?? null) !== canonicalJson(storedSide[key] ?? null));
73
+ const fields = COMPARED.filter((key) => key === 'resolved_scopes'
74
+ ? scopeSet(liveSide[key]) !== scopeSet(storedSide[key])
75
+ : canonicalJson(liveSide[key] ?? null) !== canonicalJson(storedSide[key] ?? null));
74
76
  if (fields.length === 0) {
75
77
  shadowCounts.agree++;
76
78
  return;
@@ -78,8 +80,16 @@ async function compare(stored) {
78
80
  shadowCounts.disagree++;
79
81
  warn(`grant_shadow disagree ${JSON.stringify({ grant: stored.id, sub: stored.sub, rev: stored.rev, fields })}`);
80
82
  }
83
+ // A resolved set is a set: the expanded and compact forms list scopes in different orders, so they compare as sorted `scope|mode` lists.
84
+ function scopeSet(value) {
85
+ if (!Array.isArray(value))
86
+ return canonicalJson(value ?? null);
87
+ return JSON.stringify([...new Set(value.map((entry) => `${entry.scope}|${entry.mode}`))].sort());
88
+ }
81
89
  // The live answer may hold `<provider>:*` where the stored column still lists each group (phase 4). Fold the stored groups of each such
82
- // provider into its wildcard, keeping the first group's mode and position, so the two forms compare equal when they name the same providers. A group the live answer still names (an `own` group) stays.
90
+ // provider into its wildcard so the two forms compare equal when they name the same providers. A group the live answer still names
91
+ // (an `own` group, or the app's own scopes) stays, and still counts as that provider's group: when every stored group of a provider is
92
+ // also named exactly, the expanded form deduplicated the held groups into those names, and the wildcard stands for them.
83
93
  function compactLike(stored, live) {
84
94
  if (!Array.isArray(live))
85
95
  return stored;
@@ -91,15 +101,15 @@ function compactLike(stored, live) {
91
101
  if (wild.size === 0)
92
102
  return stored;
93
103
  const seen = new Set();
94
- return stored.flatMap((entry) => {
104
+ const folded = stored.flatMap((entry) => {
95
105
  const provider = entry.scope.slice(0, entry.scope.indexOf(':'));
96
- if (provider === 'crtr' || !wild.has(provider) || named.has(entry.scope))
106
+ if (provider === 'crtr' || !wild.has(provider))
97
107
  return [entry];
98
- if (seen.has(provider))
99
- return [];
108
+ const wildcard = seen.has(provider) ? [] : [{ ...entry, scope: `${provider}:*` }];
100
109
  seen.add(provider);
101
- return [{ ...entry, scope: `${provider}:*` }];
110
+ return named.has(entry.scope) ? [entry, ...wildcard] : wildcard;
102
111
  });
112
+ return folded;
103
113
  }
104
114
  let summaryTimer;
105
115
  let reported = { agree: 0, disagree: 0, lagging: 0, error: 0 };
@@ -167,10 +167,13 @@ async function ownerView(db, src, reposFn) {
167
167
  const owner = src.owner == null ? null : await getById(db, src.owner);
168
168
  if (src.deleted_at || src.home_machine !== null || !owner || owner.deleted_at)
169
169
  return null;
170
- return owner.type === 'node'
171
- ? await readerForNode(db, owner.id, reposFn ?? (async () => []), liveLookups(db), true)
172
- : await readerForObject(db, src, reposFn).catch((error) => { if (error instanceof NoOwningAppError)
173
- return null; throw error; });
170
+ if (owner.type === 'node')
171
+ return await readerForNode(db, owner.id, reposFn ?? (async () => []), liveLookups(db), true);
172
+ // A person's document resolves as that person: an object reader under a person owner holds no scopes, so it would see none of the person's documents.
173
+ if (owner.type === 'person')
174
+ return { class: 'person', person: owner };
175
+ return await readerForObject(db, src, reposFn).catch((error) => { if (error instanceof NoOwningAppError)
176
+ return null; throw error; });
174
177
  }
175
178
  /** `target` has just come into existence or gained a name. Every live document whose current revision holds an
176
179
  * unresolved link that could name it re-resolves that link in its OWNER's view (not the caller's); the link gains its
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/api",
3
- "version": "0.3.764",
3
+ "version": "0.3.765",
4
4
  "description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, the CrtrClient, and the command-plugin manifest format. Zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/api/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/identity",
3
- "version": "0.3.764",
3
+ "version": "0.3.765",
4
4
  "description": "Northlight access-token verification and scope rules",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/plugin",
3
- "version": "0.3.764",
3
+ "version": "0.3.765",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "postpack": "node ../../scripts/pack-minify.mjs postpack packages/crouter-plugin"
28
28
  },
29
29
  "dependencies": {
30
- "@north-light/api": "0.3.764",
31
- "@north-light/identity": "0.3.764"
30
+ "@north-light/api": "0.3.765",
31
+ "@north-light/identity": "0.3.765"
32
32
  },
33
33
  "license": "UNLICENSED",
34
34
  "publishConfig": {
package/runtime.lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@north-light/cli",
3
- "version": "0.3.764",
3
+ "version": "0.3.765",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@north-light/cli",
9
- "version": "0.3.764",
9
+ "version": "0.3.765",
10
10
  "hasInstallScript": true,
11
11
  "license": "UNLICENSED",
12
12
  "workspaces": [
@@ -28,8 +28,8 @@
28
28
  "@milkdown/preset-gfm": "^7.22.3",
29
29
  "@milkdown/prose": "^7.22.3",
30
30
  "@milkdown/utils": "^7.22.3",
31
- "@north-light/identity": "0.3.764",
32
- "@north-light/plugin": "0.3.764",
31
+ "@north-light/identity": "0.3.765",
32
+ "@north-light/plugin": "0.3.765",
33
33
  "cron-parser": "^5.6.0",
34
34
  "esbuild": "0.28.2",
35
35
  "jose": "^6.2.12",
@@ -11902,17 +11902,17 @@
11902
11902
  },
11903
11903
  "packages/crouter-api": {
11904
11904
  "name": "@north-light/api",
11905
- "version": "0.3.764",
11905
+ "version": "0.3.765",
11906
11906
  "license": "UNLICENSED"
11907
11907
  },
11908
11908
  "packages/crouter-env-docker": {
11909
11909
  "name": "@north-light/env-docker",
11910
- "version": "0.3.764",
11910
+ "version": "0.3.765",
11911
11911
  "license": "UNLICENSED"
11912
11912
  },
11913
11913
  "packages/crouter-identity": {
11914
11914
  "name": "@north-light/identity",
11915
- "version": "0.3.764",
11915
+ "version": "0.3.765",
11916
11916
  "license": "UNLICENSED",
11917
11917
  "dependencies": {
11918
11918
  "jose": "^6.2.1"
@@ -11920,21 +11920,21 @@
11920
11920
  },
11921
11921
  "packages/crouter-plugin": {
11922
11922
  "name": "@north-light/plugin",
11923
- "version": "0.3.764",
11923
+ "version": "0.3.765",
11924
11924
  "license": "UNLICENSED",
11925
11925
  "dependencies": {
11926
- "@north-light/api": "0.3.764",
11927
- "@north-light/identity": "0.3.764"
11926
+ "@north-light/api": "0.3.765",
11927
+ "@north-light/identity": "0.3.765"
11928
11928
  }
11929
11929
  },
11930
11930
  "packages/crouter-sdk": {
11931
11931
  "name": "@north-light/sdk",
11932
- "version": "0.3.764",
11932
+ "version": "0.3.765",
11933
11933
  "license": "UNLICENSED",
11934
11934
  "dependencies": {
11935
- "@north-light/api": "0.3.764",
11936
- "@north-light/identity": "0.3.764",
11937
- "@north-light/plugin": "0.3.764",
11935
+ "@north-light/api": "0.3.765",
11936
+ "@north-light/identity": "0.3.765",
11937
+ "@north-light/plugin": "0.3.765",
11938
11938
  "jose": "^6.2.1"
11939
11939
  },
11940
11940
  "bin": {