@north-light/cli 0.3.684 → 0.3.686
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/core/canvas/db.d.ts +3 -0
- package/dist/core/canvas/db.js +4 -4
- package/dist/core/checkout-identities.d.ts +3 -0
- package/dist/core/checkout-identities.js +3 -3
- package/dist/core/conversation-store/client.d.ts +1 -1
- package/dist/core/conversation-store/client.js +2 -2
- package/dist/core/conversation-store/index.d.ts +5 -0
- package/dist/core/conversation-store/patch.js +1 -1
- package/dist/core/graph/reader.js +3 -3
- package/dist/core/graph/repo-sync/repos.d.ts +5 -2
- package/dist/core/graph/repo-sync/repos.js +4 -4
- package/dist/core/runtime/broker.js +1 -1
- package/dist/core/runtime/spawn.js +2 -2
- package/dist/core/step-timings.d.ts +4 -0
- package/dist/core/step-timings.js +1 -1
- package/dist/core/substrate/delivery/corpus.d.ts +3 -0
- package/dist/core/substrate/delivery/corpus.js +2 -2
- package/dist/daemon/api/handlers/broker-ops.d.ts +1 -1
- package/dist/daemon/api/handlers/broker-ops.js +1 -1
- package/package.json +3 -3
- package/packages/crouter-api/dist/core/canvas/db.js +15 -2
- package/packages/crouter-api/dist/core/checkout-identities.js +25 -9
- package/packages/crouter-api/dist/core/conversation-store/client.js +8 -2
- package/packages/crouter-api/dist/core/conversation-store/patch.js +17 -2
- package/packages/crouter-api/dist/core/graph/reader.js +5 -2
- package/packages/crouter-api/dist/core/graph/repo-sync/repos.js +15 -18
- package/packages/crouter-api/dist/core/runtime/spawn.js +18 -4
- package/packages/crouter-api/dist/core/step-timings.js +23 -2
- package/packages/crouter-api/dist/core/substrate/delivery/corpus.js +32 -4
- package/packages/crouter-api/dist/daemon/api/handlers/broker-ops.js +21 -19
- package/packages/crouter-api/package.json +1 -1
- package/packages/crouter-identity/package.json +1 -1
- package/packages/crouter-plugin/package.json +3 -3
- package/runtime.lock.json +14 -14
|
@@ -6,11 +6,11 @@ import { ExitCode } from '../../../types.js';
|
|
|
6
6
|
import { personIdAsync } from '../../canvas/person.js';
|
|
7
7
|
import { ensureOwner } from '../objects.js';
|
|
8
8
|
import { checkoutChain, handleHint } from './identity.js';
|
|
9
|
-
import { checkoutChainOf } from '../../checkout-identities.js';
|
|
9
|
+
import { checkoutChainOf, checkoutChainsOf } from '../../checkout-identities.js';
|
|
10
10
|
import { subjectSet } from '../../permissions/evaluator.js';
|
|
11
11
|
import { loadDefinitions } from '../../permissions/schemas.js';
|
|
12
12
|
import { compilePermission } from '../../permissions/compile.js';
|
|
13
|
-
import {
|
|
13
|
+
import { raw } from '../../permissions/sql.js';
|
|
14
14
|
import { OBJECT_TYPE } from '../../permissions/builtin.js';
|
|
15
15
|
export { handleHint };
|
|
16
16
|
async function existingRepo(db, person, scheme, externalId) {
|
|
@@ -36,12 +36,15 @@ export async function ensureRepo(db, id, handle) {
|
|
|
36
36
|
export async function loadReadAccess(db, person) {
|
|
37
37
|
return { defs: await loadDefinitions(db), subjects: await subjectSet(db, person.replace(/^user:/, '')) };
|
|
38
38
|
}
|
|
39
|
-
/**
|
|
40
|
-
export async function
|
|
39
|
+
/** The ids among `ids` that `person` may read by permission facts alone (no ceiling), in one read: the gate for the repos a profile names. */
|
|
40
|
+
export async function readableAmong(db, person, ids, access) {
|
|
41
|
+
if (ids.length === 0)
|
|
42
|
+
return new Set();
|
|
41
43
|
const { defs, subjects } = access ?? await loadReadAccess(db, person);
|
|
42
|
-
const read = compilePermission(defs, subjects, OBJECT_TYPE, 'read',
|
|
43
|
-
const
|
|
44
|
-
|
|
44
|
+
const read = compilePermission(defs, subjects, OBJECT_TYPE, 'read', raw('o.id'));
|
|
45
|
+
const rows = await db.prepareUncached(`SELECT o.id FROM objects o WHERE o.id = ANY(?::text[]) AND ${read.sql}`)
|
|
46
|
+
.all(ids, ...read.params);
|
|
47
|
+
return new Set(rows.map((r) => r.id));
|
|
45
48
|
}
|
|
46
49
|
/** The repo objects of one remote identity, any person's, that `person` may read (permission facts only, no ceiling), the person's own first and
|
|
47
50
|
* then by age, oldest first. `heldByPerson` says whether the person has an identity row for it at all, readable or not. */
|
|
@@ -76,16 +79,10 @@ const localPathRepos = async (db) => await db.prepare(`SELECT o.*, i.external_id
|
|
|
76
79
|
* repos of every git identity in `dirs`, and the local-path repos) and store it on `access`. */
|
|
77
80
|
export async function prefetchRepoReads(db, person, dirs, access) {
|
|
78
81
|
const ids = new Map();
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
catch (e) {
|
|
85
|
-
if (e instanceof CrtrError && e.code === 'git-lookup-failed')
|
|
86
|
-
continue; // the loop reports it
|
|
87
|
-
throw e;
|
|
88
|
-
}
|
|
82
|
+
const chains = await checkoutChainsOf(db, dirs.map((cwd) => realpathOrSelf(resolve(cwd))), async () => person);
|
|
83
|
+
// A chain with a failed lookup is not the answer: `checkoutsForCwd` looks that directory up itself, as it did before this prefetch kept chains.
|
|
84
|
+
access.chains = new Map([...chains].filter(([, chain]) => chain.every((id) => id.ok)));
|
|
85
|
+
for (const chain of chains.values()) {
|
|
89
86
|
for (const id of chain)
|
|
90
87
|
if (id.ok)
|
|
91
88
|
ids.set(`${id.scheme}\0${id.externalId}`, { scheme: id.scheme, externalId: id.externalId });
|
|
@@ -111,7 +108,7 @@ export async function checkoutsForCwd(db, cwd, person, access) {
|
|
|
111
108
|
const dir = realpathOrSelf(resolve(cwd));
|
|
112
109
|
const found = [];
|
|
113
110
|
let loaded = access;
|
|
114
|
-
for (const id of await checkoutChainOf(db, dir, async () => person ?? await personIdAsync())) {
|
|
111
|
+
for (const id of access?.chains?.get(dir) ?? await checkoutChainOf(db, dir, async () => person ?? await personIdAsync())) {
|
|
115
112
|
if (!id.ok) {
|
|
116
113
|
throw new CrtrError('git-lookup-failed', `cannot identify the repo at ${id.dir}: ${id.reason}`, ExitCode.GENERAL, { dir: id.dir });
|
|
117
114
|
}
|
|
@@ -289,6 +289,7 @@ async function recordStartCallTimings(callId, answer) {
|
|
|
289
289
|
* 'uncertain': the call was sent and its answer lost, so the Mac may have a broker: the execution stays launching and the node stays active, and the
|
|
290
290
|
* tick's `status` of that execution decides (the machine runner's rule). 'full': the daemon is drained or at its broker cap, so nothing was begun. */
|
|
291
291
|
async function startOnMachine(meta, environmentId, inv) {
|
|
292
|
+
const setupStart = performance.now();
|
|
292
293
|
// Loaded here: the handlers import the runtime that imports this module.
|
|
293
294
|
const { buildStartBundle } = await import('../../daemon/api/handlers/execution-start.js');
|
|
294
295
|
const { renderCarriedStart } = await import('../../daemon/api/handlers/broker-ops.js');
|
|
@@ -311,9 +312,22 @@ async function startOnMachine(meta, environmentId, inv) {
|
|
|
311
312
|
const launchJson = await brokerLaunchJson(meta.node_id, inv, meta.cwd);
|
|
312
313
|
await setExecutionLaunchJson(executionId, launchJson);
|
|
313
314
|
const execId = executionId;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
addStepTiming('execution_setup', performance.now() - setupStart);
|
|
316
|
+
// Warm-up and the bundle are independent (the bundle reads the node, profile metadata, environment and secrets; warm-up writes checkout identities and a
|
|
317
|
+
// profile project's `repo`), so they run together. Both settle before the render transaction opens, and warm-up's error wins if both fail. The
|
|
318
|
+
// `warm_repos` and `start_bundle` marks each measure their own step and overlap; `warm_and_bundle` is the joined interval.
|
|
319
|
+
const [warmed, bundled] = await timedStep('warm_and_bundle', async () => await Promise.allSettled([
|
|
320
|
+
timedStep('warm_repos', async () => await warmNodeRepos(await openDb(), meta.node_id)),
|
|
321
|
+
timedStep('start_bundle', async () => {
|
|
322
|
+
const sub = meta.sub ?? await personIdAsync();
|
|
323
|
+
return await buildStartBundle({ nodeId: meta.node_id, app: meta.grantee ?? 'app:terminal', sub, launchJson, runner: 'machine' });
|
|
324
|
+
}),
|
|
325
|
+
]));
|
|
326
|
+
if (warmed.status === 'rejected')
|
|
327
|
+
throw warmed.reason;
|
|
328
|
+
if (bundled.status === 'rejected')
|
|
329
|
+
throw bundled.reason;
|
|
330
|
+
const bundle = bundled.value;
|
|
317
331
|
callId = await timedStep('render_transaction', () => withCanvasWrite(async (db) => {
|
|
318
332
|
// The reader is built here, after the goal and every birth write have landed, so the rendered bearings see them.
|
|
319
333
|
const start = await renderCarriedStart(meta.node_id);
|
|
@@ -322,7 +336,7 @@ async function startOnMachine(meta, environmentId, inv) {
|
|
|
322
336
|
executionId: execId, nodeId: meta.node_id, attempt: 1, sandboxName: null, release: acceptedRelease(), launchJson, cwd: meta.cwd, resuming: false,
|
|
323
337
|
nodeToken, bundle, start,
|
|
324
338
|
});
|
|
325
|
-
}));
|
|
339
|
+
}, { timingName: 'render_tx' }));
|
|
326
340
|
}
|
|
327
341
|
catch (error) {
|
|
328
342
|
emitEvent({ level: 'warn', event: 'broker.create_start_failed', node_id: meta.node_id, error });
|
|
@@ -5,12 +5,33 @@
|
|
|
5
5
|
// `Server-Timing` response header. A request opts in by running inside `collectStepTimings`; `timedStep` / `addStepTiming` record nothing
|
|
6
6
|
// outside one. Names and durations only: never a token, secret, env value or document body.
|
|
7
7
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
8
|
+
import { monitorEventLoopDelay } from 'node:perf_hooks';
|
|
8
9
|
const stepTimings = new AsyncLocalStorage();
|
|
9
10
|
/** Run `fn`, collecting the steps recorded beneath it. */
|
|
10
11
|
export async function collectStepTimings(fn) {
|
|
11
12
|
const steps = [];
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
// How long the event loop was blocked while the request ran: a blocked loop delays every await in it, and shows as time no step explains.
|
|
14
|
+
const loop = monitorEventLoopDelay({ resolution: 5 });
|
|
15
|
+
loop.enable();
|
|
16
|
+
try {
|
|
17
|
+
const value = await stepTimings.run({ steps, start: performance.now() }, fn);
|
|
18
|
+
return { value, steps };
|
|
19
|
+
}
|
|
20
|
+
finally {
|
|
21
|
+
loop.disable();
|
|
22
|
+
if (loop.count > 0)
|
|
23
|
+
steps.push(['event_loop_delay_max', loop.max / 1e6], ['event_loop_delay_p99', loop.percentile(99) / 1e6]);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/** True when the running request is collecting steps. */
|
|
27
|
+
export function isCollectingStepTimings() {
|
|
28
|
+
return stepTimings.getStore() !== undefined;
|
|
29
|
+
}
|
|
30
|
+
/** A short stable label for a statement: its verb and first table (`select_nodes`, `insert_run_events`), never its parameters or text. */
|
|
31
|
+
export function statementLabel(text) {
|
|
32
|
+
const verb = /^\s*(select|insert|update|delete|with|savepoint|release|rollback)\b/i.exec(text)?.[1]?.toLowerCase() ?? 'other';
|
|
33
|
+
const table = /\b(?:from|into|update)\s+(?:only\s+)?([a-z_][a-z0-9_.]*)/i.exec(text)?.[1]?.toLowerCase().replace(/\W/g, '_');
|
|
34
|
+
return table === undefined ? verb : `${verb}_${table}`;
|
|
14
35
|
}
|
|
15
36
|
/** Record a step's duration in ms, when a request is collecting. */
|
|
16
37
|
export function addStepTiming(name, ms) {
|
|
@@ -41,6 +41,27 @@ async function readerManifest(db, reader) {
|
|
|
41
41
|
throw new Error(`profile object ${reader.profile.id} has no profile identity`);
|
|
42
42
|
return loadExactProfileManifest(profileId).manifest;
|
|
43
43
|
}
|
|
44
|
+
/** Readers whose corpus reads are shared for as long as the reader lives (`shareCorpusReads`). */
|
|
45
|
+
const sharing = new WeakSet();
|
|
46
|
+
const shared = new WeakMap();
|
|
47
|
+
/** Make every document, head, rule, name and body read this reader's deliveries make run once per distinct input. Only for a reader built for one
|
|
48
|
+
* render that writes no documents while it lives: the answers are those of the first read, whatever changes after. */
|
|
49
|
+
export function shareCorpusReads(reader) { sharing.add(reader); }
|
|
50
|
+
function once(reader, key, load) {
|
|
51
|
+
if (!sharing.has(reader))
|
|
52
|
+
return load();
|
|
53
|
+
let reads = shared.get(reader);
|
|
54
|
+
if (reads === undefined)
|
|
55
|
+
shared.set(reader, reads = new Map());
|
|
56
|
+
const id = JSON.stringify(key);
|
|
57
|
+
let hit = reads.get(id);
|
|
58
|
+
if (hit === undefined) {
|
|
59
|
+
hit = load();
|
|
60
|
+
reads.set(id, hit);
|
|
61
|
+
hit.catch(() => reads.delete(id));
|
|
62
|
+
}
|
|
63
|
+
return hit;
|
|
64
|
+
}
|
|
44
65
|
/** One scope per reader object. A reader is built for one request and its view, subjects and read rule are facts of that reader, so every
|
|
45
66
|
* corpus of one delivery shares them: the `names` activity loads one corpus per owner in the view and a boot one per linked document, and
|
|
46
67
|
* rebuilding the scope for each cost about thirty statements a time. */
|
|
@@ -64,12 +85,18 @@ export async function readRule(db, reader) {
|
|
|
64
85
|
}
|
|
65
86
|
/** The live documents satisfying `where` that the reader may read. */
|
|
66
87
|
async function documentRows(db, scope, where, args) {
|
|
88
|
+
return [...await once(scope.reader, ['docs', where, args], async () => await documentRowsNow(db, scope, where, args))];
|
|
89
|
+
}
|
|
90
|
+
async function documentRowsNow(db, scope, where, args) {
|
|
67
91
|
return await db.prepareUncached(`SELECT o.*, d.heads_key, d.unlisted, d.source_path FROM objects o JOIN documents d ON d.object = o.id
|
|
68
92
|
WHERE o.type = 'document' AND o.deleted_at IS NULL AND ${where} AND ${scope.read.sql} ORDER BY o.seq`)
|
|
69
93
|
.all(...args, ...scope.read.params);
|
|
70
94
|
}
|
|
71
95
|
/** Each document's current body hash: the highest-numbered of its head revisions, for all of `docs` in one query. */
|
|
72
|
-
async function headBodyHashes(db, docs) {
|
|
96
|
+
async function headBodyHashes(db, scope, docs) {
|
|
97
|
+
return await once(scope.reader, ['heads', docs.map((d) => [d.id, d.heads_key])], async () => await headBodyHashesNow(db, docs));
|
|
98
|
+
}
|
|
99
|
+
async function headBodyHashesNow(db, docs) {
|
|
73
100
|
const heads = [...new Set(docs.flatMap((d) => d.heads_key.split(',')))];
|
|
74
101
|
const rows = heads.length === 0 ? [] : await db.prepare('SELECT rev_id, document, number, body_hash FROM revisions WHERE rev_id = ANY(?::text[])')
|
|
75
102
|
.all(heads);
|
|
@@ -105,9 +132,10 @@ async function toDeliveryDocs(db, scope, rows, rulesByDoc) {
|
|
|
105
132
|
for (const o of await db.prepare('SELECT * FROM objects WHERE id = ANY(?::text[])').all(outside))
|
|
106
133
|
owners.set(o.id, o);
|
|
107
134
|
}
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
135
|
+
const ruleIds = rows.map((r) => r.id);
|
|
136
|
+
const rules = rulesByDoc ?? await once(reader, ['rules', ruleIds], async () => await rulesOfMany(db, ruleIds));
|
|
137
|
+
const hashes = await headBodyHashes(db, scope, rows);
|
|
138
|
+
const resolvedNames = await once(reader, ['names', rows.map((r) => r.name)], async () => await viewResolutions(db, context, rows.map((r) => r.name)));
|
|
111
139
|
return await mapAsync(rows, async (doc) => {
|
|
112
140
|
const owner = owners.get(doc.owner);
|
|
113
141
|
if (owner === undefined)
|
|
@@ -8,6 +8,7 @@ import { isSafeNodeId } from '../../../core/canvas/paths.js';
|
|
|
8
8
|
import { isPidAlive } from '../../../core/canvas/pid.js';
|
|
9
9
|
import { editorLabel } from '../../../core/canvas/labels.js';
|
|
10
10
|
import { assembleNodeSubject } from '../../../core/substrate/subject.js';
|
|
11
|
+
import { shareCorpusReads } from '../../../core/substrate/delivery/corpus.js';
|
|
11
12
|
import { openDb, withCanvasWrite } from '../../../core/canvas/db.js';
|
|
12
13
|
import { runningJobs } from '../../../core/graph/jobs.js';
|
|
13
14
|
import { notFound, usage } from '../../../core/errors.js';
|
|
@@ -160,7 +161,7 @@ export async function extensionNode(node) {
|
|
|
160
161
|
created: node.created,
|
|
161
162
|
};
|
|
162
163
|
}
|
|
163
|
-
async function extensionState(nodeId) {
|
|
164
|
+
async function extensionState(nodeId, gate) {
|
|
164
165
|
const node = await requireNode(nodeId);
|
|
165
166
|
const ancestors = [];
|
|
166
167
|
const seen = new Set([nodeId]);
|
|
@@ -179,7 +180,7 @@ async function extensionState(nodeId) {
|
|
|
179
180
|
const source = typeof node.fork_source_file === 'string'
|
|
180
181
|
? await forkSourceNode(node.fork_source_file)
|
|
181
182
|
: null;
|
|
182
|
-
const subject = await assembleNodeSubject(nodeId);
|
|
183
|
+
const subject = gate ?? await assembleNodeSubject(nodeId);
|
|
183
184
|
if (subject === null)
|
|
184
185
|
throw notFound(`unknown node: ${nodeId}`, { received: nodeId });
|
|
185
186
|
return {
|
|
@@ -295,30 +296,31 @@ function parseCycleStartBody(body) {
|
|
|
295
296
|
/** The names, bearings and first system-prompt block a cycle opens with, delivered in one write the way the
|
|
296
297
|
* delivery route would deliver each. A warm spare is owed no bearings and no system prompt: its claim delivers them.
|
|
297
298
|
* `namesOnly` gives a node the same treatment while its bind is undecided. */
|
|
298
|
-
async function startupDelivery(
|
|
299
|
+
async function startupDelivery(db, reader, subject, state, bearings, namesOnly) {
|
|
299
300
|
const warm = state.warm_spare || namesOnly;
|
|
300
301
|
const bootOwed = !warm && bearings !== 'present';
|
|
302
|
+
const names = await deliver(db, reader, { activity: 'names' }, subject);
|
|
303
|
+
const boot = bootOwed ? await deliver(db, reader, { activity: 'boot', ...(bearings === 'inherited' ? { inherited: true } : {}) }, subject) : undefined;
|
|
304
|
+
const system = warm ? undefined : await deliver(db, reader, { activity: 'system-prompt' }, subject);
|
|
305
|
+
return {
|
|
306
|
+
names: { refs: names.refs, names: names.names },
|
|
307
|
+
...(boot === undefined ? {} : { boot: { content: boot.content, ...(boot.inherited === true ? { inherited: true } : {}) } }),
|
|
308
|
+
...(system === undefined ? {} : { system_prompt: system.content }),
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
/** The node state, names, bearings and first system-prompt block a cycle opens with, and the persona acknowledgement the bearings make. A companion
|
|
312
|
+
* awaiting its marker may still be shut down by the bind: it gets the state and names only, with no bearings, ledger write, persona acknowledgement
|
|
313
|
+
* or system prompt until the bind commits. The node's repository view is built once and serves both the state's subject and the delivery. */
|
|
314
|
+
export async function renderStartData(nodeId, bearings, namesOnly, warmed = false) {
|
|
301
315
|
if (!warmed)
|
|
302
316
|
await warmNodeRepos(await openDb(), nodeId);
|
|
303
|
-
|
|
317
|
+
const { state, delivery } = await withCanvasWrite(async (db) => {
|
|
304
318
|
const reader = await readerForNode(db, nodeId, async (cwd, person, access) => await checkoutsForCwd(db, cwd, person, access));
|
|
319
|
+
shareCorpusReads(reader);
|
|
305
320
|
const subject = await nodeSubject(db, reader);
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
const system = warm ? undefined : await deliver(db, reader, { activity: 'system-prompt' }, subject);
|
|
309
|
-
return {
|
|
310
|
-
names: { refs: names.refs, names: names.names },
|
|
311
|
-
...(boot === undefined ? {} : { boot: { content: boot.content, ...(boot.inherited === true ? { inherited: true } : {}) } }),
|
|
312
|
-
...(system === undefined ? {} : { system_prompt: system.content }),
|
|
313
|
-
};
|
|
321
|
+
const state = await extensionState(nodeId, subject);
|
|
322
|
+
return { state, delivery: await startupDelivery(db, reader, subject, state, bearings, namesOnly) };
|
|
314
323
|
});
|
|
315
|
-
}
|
|
316
|
-
/** The node state, names, bearings and first system-prompt block a cycle opens with, and the persona acknowledgement the bearings make. A companion
|
|
317
|
-
* awaiting its marker may still be shut down by the bind: it gets the state and names only, with no bearings, ledger write, persona acknowledgement
|
|
318
|
-
* or system prompt until the bind commits. */
|
|
319
|
-
export async function renderStartData(nodeId, bearings, namesOnly, warmed = false) {
|
|
320
|
-
const state = await extensionState(nodeId);
|
|
321
|
-
const delivery = await startupDelivery(nodeId, state, bearings, namesOnly, warmed);
|
|
322
324
|
// The bearings just rendered are the persona baseline; the broker does not acknowledge it separately.
|
|
323
325
|
if (delivery.boot !== undefined) {
|
|
324
326
|
const current = { kind: state.node.kind, mode: state.node.mode, lifecycle: state.node.lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.686",
|
|
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/plugin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.686",
|
|
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.
|
|
31
|
-
"@north-light/identity": "0.3.
|
|
30
|
+
"@north-light/api": "0.3.686",
|
|
31
|
+
"@north-light/identity": "0.3.686"
|
|
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.
|
|
3
|
+
"version": "0.3.686",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@north-light/cli",
|
|
9
|
-
"version": "0.3.
|
|
9
|
+
"version": "0.3.686",
|
|
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.
|
|
32
|
-
"@north-light/plugin": "0.3.
|
|
31
|
+
"@north-light/identity": "0.3.686",
|
|
32
|
+
"@north-light/plugin": "0.3.686",
|
|
33
33
|
"cron-parser": "^5.6.0",
|
|
34
34
|
"esbuild": "0.28.2",
|
|
35
35
|
"jose": "^6.2.12",
|
|
@@ -10667,17 +10667,17 @@
|
|
|
10667
10667
|
},
|
|
10668
10668
|
"packages/crouter-api": {
|
|
10669
10669
|
"name": "@north-light/api",
|
|
10670
|
-
"version": "0.3.
|
|
10670
|
+
"version": "0.3.686",
|
|
10671
10671
|
"license": "UNLICENSED"
|
|
10672
10672
|
},
|
|
10673
10673
|
"packages/crouter-env-docker": {
|
|
10674
10674
|
"name": "@north-light/env-docker",
|
|
10675
|
-
"version": "0.3.
|
|
10675
|
+
"version": "0.3.686",
|
|
10676
10676
|
"license": "UNLICENSED"
|
|
10677
10677
|
},
|
|
10678
10678
|
"packages/crouter-identity": {
|
|
10679
10679
|
"name": "@north-light/identity",
|
|
10680
|
-
"version": "0.3.
|
|
10680
|
+
"version": "0.3.686",
|
|
10681
10681
|
"license": "UNLICENSED",
|
|
10682
10682
|
"dependencies": {
|
|
10683
10683
|
"jose": "^6.2.1"
|
|
@@ -10685,21 +10685,21 @@
|
|
|
10685
10685
|
},
|
|
10686
10686
|
"packages/crouter-plugin": {
|
|
10687
10687
|
"name": "@north-light/plugin",
|
|
10688
|
-
"version": "0.3.
|
|
10688
|
+
"version": "0.3.686",
|
|
10689
10689
|
"license": "UNLICENSED",
|
|
10690
10690
|
"dependencies": {
|
|
10691
|
-
"@north-light/api": "0.3.
|
|
10692
|
-
"@north-light/identity": "0.3.
|
|
10691
|
+
"@north-light/api": "0.3.686",
|
|
10692
|
+
"@north-light/identity": "0.3.686"
|
|
10693
10693
|
}
|
|
10694
10694
|
},
|
|
10695
10695
|
"packages/crouter-sdk": {
|
|
10696
10696
|
"name": "@north-light/sdk",
|
|
10697
|
-
"version": "0.3.
|
|
10697
|
+
"version": "0.3.686",
|
|
10698
10698
|
"license": "UNLICENSED",
|
|
10699
10699
|
"dependencies": {
|
|
10700
|
-
"@north-light/api": "0.3.
|
|
10701
|
-
"@north-light/identity": "0.3.
|
|
10702
|
-
"@north-light/plugin": "0.3.
|
|
10700
|
+
"@north-light/api": "0.3.686",
|
|
10701
|
+
"@north-light/identity": "0.3.686",
|
|
10702
|
+
"@north-light/plugin": "0.3.686",
|
|
10703
10703
|
"jose": "^6.2.1"
|
|
10704
10704
|
},
|
|
10705
10705
|
"bin": {
|