wicked-crew 0.2.0 → 0.3.0
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/api/evidence.d.ts +97 -0
- package/dist/api/evidence.d.ts.map +1 -0
- package/dist/api/evidence.js +144 -0
- package/dist/api/evidence.js.map +1 -0
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +379 -12
- package/dist/api/routes.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +7 -2
- package/dist/api/server.js.map +1 -1
- package/dist/cli/index.js +54 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapter.d.ts +76 -2
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +500 -3
- package/dist/core/adapter.js.map +1 -1
- package/dist/core/bridge-path.d.ts +34 -0
- package/dist/core/bridge-path.d.ts.map +1 -0
- package/dist/core/bridge-path.js +67 -0
- package/dist/core/bridge-path.js.map +1 -0
- package/dist/core/types.d.ts +173 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +3 -1
- package/dist/core/types.js.map +1 -1
- package/dist/studio/assets/index-CckxWxam.js +420 -0
- package/dist/studio/assets/index-CjQFuKL4.css +32 -0
- package/dist/studio/index.html +5 -2
- package/package.json +11 -6
- package/skills/wicked-crew/SKILL.md +140 -0
- package/dist/studio/assets/index-BJ07BOyt.js +0 -50
- package/dist/studio/assets/index-BptfbKLC.css +0 -32
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ACP bridge binary resolution — makes the bridges deployable without any manual step.
|
|
3
|
+
*
|
|
4
|
+
* wicked-core spawns ACP bridge binaries (`claude-agent-acp`, `codex-acp`, `pi-acp`,
|
|
5
|
+
* `agy-acp`, `opencode-acp`) by BARE NAME on PATH. The bridges ship as npm packages
|
|
6
|
+
* (dependencies of this package), so after any normal install their launcher shims
|
|
7
|
+
* land in a `node_modules/.bin` directory — but nothing puts that directory on the
|
|
8
|
+
* daemon's PATH. Requiring users to `npm i -g` the bridge packages (or hand-symlink
|
|
9
|
+
* bins) is exactly the kind of install friction that breaks "clone → npm install →
|
|
10
|
+
* run".
|
|
11
|
+
*
|
|
12
|
+
* `ensureBridgesOnPath()` closes the gap at daemon startup: it walks up from this
|
|
13
|
+
* module looking for a `node_modules/.bin` that contains a bridge shim and prepends
|
|
14
|
+
* it to `process.env.PATH`. Every subprocess the engine spawns inherits the daemon's
|
|
15
|
+
* environment, so the registry's bare binary names resolve in dev checkouts
|
|
16
|
+
* (workspace root `.bin`), global installs, and nested-dependency layouts alike.
|
|
17
|
+
* A user-installed bridge earlier on PATH still wins for spawn resolution only if
|
|
18
|
+
* it appears before ours — we prepend, so the packaged versions take precedence
|
|
19
|
+
* and match the engine version they shipped with.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Find the nearest `node_modules/.bin` (walking up from `start`) that contains a
|
|
23
|
+
* bridge shim. Returns `null` when none is found — e.g. a checkout before
|
|
24
|
+
* `npm install` — in which case PATH is left untouched and the engine's own
|
|
25
|
+
* single-shot fallback still applies.
|
|
26
|
+
*/
|
|
27
|
+
export declare function findBridgeBinDir(start: string): string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Prepend the bridge `.bin` directory to PATH (idempotent). Returns the directory
|
|
30
|
+
* when one was found, else `null`. Call once at daemon startup, before the engine
|
|
31
|
+
* spawns anything.
|
|
32
|
+
*/
|
|
33
|
+
export declare function ensureBridgesOnPath(start?: string): string | null;
|
|
34
|
+
//# sourceMappingURL=bridge-path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-path.d.ts","sourceRoot":"","sources":["../../src/core/bridge-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAgBH;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAS7D;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,GAAE,MAAgD,GACtD,MAAM,GAAG,IAAI,CAWf"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ACP bridge binary resolution — makes the bridges deployable without any manual step.
|
|
3
|
+
*
|
|
4
|
+
* wicked-core spawns ACP bridge binaries (`claude-agent-acp`, `codex-acp`, `pi-acp`,
|
|
5
|
+
* `agy-acp`, `opencode-acp`) by BARE NAME on PATH. The bridges ship as npm packages
|
|
6
|
+
* (dependencies of this package), so after any normal install their launcher shims
|
|
7
|
+
* land in a `node_modules/.bin` directory — but nothing puts that directory on the
|
|
8
|
+
* daemon's PATH. Requiring users to `npm i -g` the bridge packages (or hand-symlink
|
|
9
|
+
* bins) is exactly the kind of install friction that breaks "clone → npm install →
|
|
10
|
+
* run".
|
|
11
|
+
*
|
|
12
|
+
* `ensureBridgesOnPath()` closes the gap at daemon startup: it walks up from this
|
|
13
|
+
* module looking for a `node_modules/.bin` that contains a bridge shim and prepends
|
|
14
|
+
* it to `process.env.PATH`. Every subprocess the engine spawns inherits the daemon's
|
|
15
|
+
* environment, so the registry's bare binary names resolve in dev checkouts
|
|
16
|
+
* (workspace root `.bin`), global installs, and nested-dependency layouts alike.
|
|
17
|
+
* A user-installed bridge earlier on PATH still wins for spawn resolution only if
|
|
18
|
+
* it appears before ours — we prepend, so the packaged versions take precedence
|
|
19
|
+
* and match the engine version they shipped with.
|
|
20
|
+
*/
|
|
21
|
+
import { existsSync } from 'node:fs';
|
|
22
|
+
import { delimiter, dirname, join } from 'node:path';
|
|
23
|
+
import { fileURLToPath } from 'node:url';
|
|
24
|
+
/** One shim that proves a `.bin` dir holds the bridges (any of them will do). */
|
|
25
|
+
const PROBE_BINS = ['claude-agent-acp', 'codex-acp'];
|
|
26
|
+
/** Windows npm shims are `<name>.cmd`; POSIX shims are extensionless. */
|
|
27
|
+
function hasBridgeShim(binDir) {
|
|
28
|
+
return PROBE_BINS.some((bin) => existsSync(join(binDir, bin)) || existsSync(join(binDir, `${bin}.cmd`)));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Find the nearest `node_modules/.bin` (walking up from `start`) that contains a
|
|
32
|
+
* bridge shim. Returns `null` when none is found — e.g. a checkout before
|
|
33
|
+
* `npm install` — in which case PATH is left untouched and the engine's own
|
|
34
|
+
* single-shot fallback still applies.
|
|
35
|
+
*/
|
|
36
|
+
export function findBridgeBinDir(start) {
|
|
37
|
+
let dir = start;
|
|
38
|
+
for (;;) {
|
|
39
|
+
const candidate = join(dir, 'node_modules', '.bin');
|
|
40
|
+
if (hasBridgeShim(candidate))
|
|
41
|
+
return candidate;
|
|
42
|
+
const parent = dirname(dir);
|
|
43
|
+
if (parent === dir)
|
|
44
|
+
return null;
|
|
45
|
+
dir = parent;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Prepend the bridge `.bin` directory to PATH (idempotent). Returns the directory
|
|
50
|
+
* when one was found, else `null`. Call once at daemon startup, before the engine
|
|
51
|
+
* spawns anything.
|
|
52
|
+
*/
|
|
53
|
+
export function ensureBridgesOnPath(start = dirname(fileURLToPath(import.meta.url))) {
|
|
54
|
+
const binDir = findBridgeBinDir(start);
|
|
55
|
+
if (binDir === null)
|
|
56
|
+
return null;
|
|
57
|
+
const current = process.env['PATH'];
|
|
58
|
+
if (current === undefined || current === '') {
|
|
59
|
+
// No trailing delimiter: an empty PATH entry means the CWD on POSIX.
|
|
60
|
+
process.env['PATH'] = binDir;
|
|
61
|
+
}
|
|
62
|
+
else if (!current.split(delimiter).includes(binDir)) {
|
|
63
|
+
process.env['PATH'] = binDir + delimiter + current;
|
|
64
|
+
}
|
|
65
|
+
return binDir;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=bridge-path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-path.js","sourceRoot":"","sources":["../../src/core/bridge-path.ts"],"names":[],"m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C,MAAM,CAAC,CAAC;IACpC,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,EAAE,EAAE,CAAC;QAC5C,qEAAqE;QACrE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC/B,CAAC;SAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACrD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/core/types.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export type RoutingInfo = {
|
|
|
37
37
|
method: 'evaluator_distinct';
|
|
38
38
|
winner: string;
|
|
39
39
|
was: string;
|
|
40
|
+
} | {
|
|
41
|
+
method: 'tool';
|
|
40
42
|
};
|
|
41
43
|
/** A run (`AgentSession`). */
|
|
42
44
|
export interface AgentSession {
|
|
@@ -70,6 +72,9 @@ export interface WorkUnit {
|
|
|
70
72
|
phase_status: string | null;
|
|
71
73
|
collection_scope: string | null;
|
|
72
74
|
status: UnitStatus;
|
|
75
|
+
skill_ref?: string | null;
|
|
76
|
+
/** The command this unit runs directly (Tool-executor phases). `null`/absent for Agent units. */
|
|
77
|
+
tool_cmd?: string[] | null;
|
|
73
78
|
}
|
|
74
79
|
/** A run plus its ordered units — the read a UI builds its project list from (`SessionView`). */
|
|
75
80
|
export interface SessionView {
|
|
@@ -83,6 +88,13 @@ export interface RepoEntry {
|
|
|
83
88
|
root_path: string;
|
|
84
89
|
default_branch: string;
|
|
85
90
|
registered_at: number;
|
|
91
|
+
/** Remote git URL the repo was cloned from (undefined for locally-registered repos). */
|
|
92
|
+
git_url?: string;
|
|
93
|
+
}
|
|
94
|
+
/** The run id of the onboarding run started when a repo was registered. */
|
|
95
|
+
export interface RepoOnboardRef {
|
|
96
|
+
repoId: string;
|
|
97
|
+
runId: string;
|
|
86
98
|
}
|
|
87
99
|
/** The daemon's launch-run input (mapped by the adapter onto the addon's `LaunchOptions`). */
|
|
88
100
|
export interface LaunchRunInput {
|
|
@@ -98,6 +110,8 @@ export interface LaunchRunInput {
|
|
|
98
110
|
humanConfirm?: string;
|
|
99
111
|
/** Id of a registered repo to run within. Omit for a repo-less run. */
|
|
100
112
|
repoRef?: string;
|
|
113
|
+
/** Workflow def id to drive (e.g. `domain-extraction`). Omit ⇒ free-text planning. */
|
|
114
|
+
workflow?: string;
|
|
101
115
|
}
|
|
102
116
|
/**
|
|
103
117
|
* A CoreEvent frame as delivered by the live stream — a tagged-JSON object
|
|
@@ -124,6 +138,165 @@ export interface CoreEvent {
|
|
|
124
138
|
bytesB64?: string;
|
|
125
139
|
/** `terminalOpened`: the working directory the PTY was opened in. */
|
|
126
140
|
cwd?: string;
|
|
141
|
+
/** `unitDispatched`/`cliUsage`: 0-based dispatch attempt (`>0` = a re-dispatch / rework). */
|
|
142
|
+
attempt?: number;
|
|
143
|
+
/** `cliUsage`: prompt/input tokens for the unit run. */
|
|
144
|
+
inputTokens?: number;
|
|
145
|
+
/** `cliUsage`: completion/output tokens for the unit run. */
|
|
146
|
+
outputTokens?: number;
|
|
147
|
+
/** `cliUsage`: dollar cost when the CLI reports it (claude) or a price table resolves it; else `null`. */
|
|
148
|
+
costUsd?: number | null;
|
|
149
|
+
/** `dataUsed`: the data files the unit's CLI touched. */
|
|
150
|
+
files?: string[];
|
|
151
|
+
/** `gateEvaluated`: the gated criterion — `null` when the phase was UNGATED. */
|
|
152
|
+
criterion?: string | null;
|
|
153
|
+
/** `gateEvaluated`: `true` iff a pinned validator gated this unit. */
|
|
154
|
+
hasDeterministicFloor?: boolean;
|
|
155
|
+
/** `gateEvaluated`: whether the deterministic (layer-1) floor passed. */
|
|
156
|
+
deterministicPass?: boolean;
|
|
157
|
+
/** `gateEvaluated`: the agent (layer-2) judge's verdict when one ran, else `null`. */
|
|
158
|
+
agentVerdict?: string | null;
|
|
159
|
+
/** `gateEvaluated`: the agent judge's reasoning when one ran, else `null`. */
|
|
160
|
+
agentReasoning?: string | null;
|
|
161
|
+
/** `gateEvaluated`: the evaluator≠creator second-pass result — `null` when it did not run. */
|
|
162
|
+
evaluatorPass?: boolean | null;
|
|
163
|
+
/** `gateEvaluated`: the WINNING denial's reason when `combined === false`, else `null`. */
|
|
164
|
+
denialReason?: string | null;
|
|
165
|
+
/** `gateEvaluated`: the final deny-dominant decision over all layers. */
|
|
166
|
+
combined?: boolean;
|
|
127
167
|
[k: string]: unknown;
|
|
128
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* A registered governance policy (`wicked-governance::Policy`).
|
|
171
|
+
* Serialized via serde snake_case — `effect` values are `deny` | `allow_with_conditions` | `allow`;
|
|
172
|
+
* `severity` values are `high` | `medium` | `low`.
|
|
173
|
+
*/
|
|
174
|
+
export interface GovernancePolicy {
|
|
175
|
+
id: string;
|
|
176
|
+
kind: string;
|
|
177
|
+
applies_to: string[];
|
|
178
|
+
effect: 'deny' | 'allow_with_conditions' | 'allow';
|
|
179
|
+
trigger: {
|
|
180
|
+
contains?: string;
|
|
181
|
+
};
|
|
182
|
+
obligations: string[];
|
|
183
|
+
criteria: string;
|
|
184
|
+
severity: 'high' | 'medium' | 'low';
|
|
185
|
+
rule: string;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* A prescriptive conformance rule (`wicked-governance::ConformanceRule`).
|
|
189
|
+
* `rule_type` is `pattern` | `policy`; `severity` is `info` | `warn` | `error` | `critical`.
|
|
190
|
+
*/
|
|
191
|
+
export interface ConformanceRule {
|
|
192
|
+
id: string;
|
|
193
|
+
rule_type: 'pattern' | 'policy';
|
|
194
|
+
statement: string;
|
|
195
|
+
severity: 'info' | 'warn' | 'error' | 'critical';
|
|
196
|
+
confidence: number;
|
|
197
|
+
targets: {
|
|
198
|
+
language?: string;
|
|
199
|
+
layer?: string;
|
|
200
|
+
framework?: string;
|
|
201
|
+
};
|
|
202
|
+
symbol_ref?: string;
|
|
203
|
+
compliance?: {
|
|
204
|
+
framework: string;
|
|
205
|
+
control_id: string;
|
|
206
|
+
};
|
|
207
|
+
provenance: {
|
|
208
|
+
source: string;
|
|
209
|
+
ref?: string;
|
|
210
|
+
source_kinds: string[];
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* A recorded conformance claim / evaluation result (`wicked-apps-core::ConformanceClaim`).
|
|
215
|
+
* `decision` values are `allow` | `deny` | `allow_with_conditions` (serde snake_case).
|
|
216
|
+
*/
|
|
217
|
+
export interface GovernanceClaim {
|
|
218
|
+
claim_id: string;
|
|
219
|
+
scope: string;
|
|
220
|
+
phase: string;
|
|
221
|
+
policy_ids: string[];
|
|
222
|
+
decision: 'allow' | 'deny' | 'allow_with_conditions';
|
|
223
|
+
obligations: string[];
|
|
224
|
+
evaluated_context_ref: string;
|
|
225
|
+
criteria: string;
|
|
226
|
+
evaluator_identity: string;
|
|
227
|
+
/** Unix-seconds timestamp. */
|
|
228
|
+
evaluated_at: number;
|
|
229
|
+
}
|
|
230
|
+
/** Per-app breakdown within a `CoverageReport`. */
|
|
231
|
+
export interface CoveragePerApp {
|
|
232
|
+
app: string;
|
|
233
|
+
behavior_bearing: number;
|
|
234
|
+
resolved: number;
|
|
235
|
+
risk_flagged: number;
|
|
236
|
+
unaccounted: number;
|
|
237
|
+
coverage: number;
|
|
238
|
+
}
|
|
239
|
+
/** A behavior-bearing graph node without a coverage annotation (a coverage hole). */
|
|
240
|
+
export interface UnaccountedNode {
|
|
241
|
+
symbol_id: string;
|
|
242
|
+
name?: string;
|
|
243
|
+
kind?: string;
|
|
244
|
+
file?: string;
|
|
245
|
+
app?: string;
|
|
246
|
+
}
|
|
247
|
+
/** Front-half coverage gate report (`wicked-governance::CoverageReport`). Null on empty store. */
|
|
248
|
+
export interface CoverageReport {
|
|
249
|
+
total: number;
|
|
250
|
+
behavior_bearing: number;
|
|
251
|
+
resolved: number;
|
|
252
|
+
risk_flagged: number;
|
|
253
|
+
unaccounted: number;
|
|
254
|
+
coverage: number;
|
|
255
|
+
resolved_rate: number;
|
|
256
|
+
mean_confidence: number;
|
|
257
|
+
resolve_threshold: number;
|
|
258
|
+
per_app: CoveragePerApp[];
|
|
259
|
+
unaccounted_nodes: UnaccountedNode[];
|
|
260
|
+
}
|
|
261
|
+
/** Gate position in the value→strategy→execution ladder. */
|
|
262
|
+
export type GateType = 'value' | 'strategy' | 'execution';
|
|
263
|
+
/** Human-confirm spec for a phase gate. */
|
|
264
|
+
export type GateSpec = 'auto' | {
|
|
265
|
+
human_confirm: {
|
|
266
|
+
unconditional: boolean;
|
|
267
|
+
};
|
|
268
|
+
} | {
|
|
269
|
+
human_confirm_if: 'verdict_not_pass';
|
|
270
|
+
};
|
|
271
|
+
/** Evaluator≠creator role. */
|
|
272
|
+
export type PhaseRole = 'neutral' | 'creator' | 'evaluator';
|
|
273
|
+
/** Methodology stage for a phase. */
|
|
274
|
+
export type StageKindPhase = 'recon' | 'build' | 'review' | 'test';
|
|
275
|
+
/** One ordered phase of a workflow — pure data. */
|
|
276
|
+
export interface PhaseDef {
|
|
277
|
+
id: string;
|
|
278
|
+
kind: StageKindPhase;
|
|
279
|
+
gate_type: GateType | null;
|
|
280
|
+
gate: GateSpec;
|
|
281
|
+
executes_code: boolean;
|
|
282
|
+
verified_evidence: boolean;
|
|
283
|
+
required_deliverables: string[];
|
|
284
|
+
depends_on: string[];
|
|
285
|
+
role: PhaseRole;
|
|
286
|
+
skill_ref: string | null;
|
|
287
|
+
allowed_skills: string[];
|
|
288
|
+
validator_pin: string | null;
|
|
289
|
+
}
|
|
290
|
+
/** A workflow — id + ordered phases. */
|
|
291
|
+
export interface WorkflowDef {
|
|
292
|
+
id: string;
|
|
293
|
+
phases: PhaseDef[];
|
|
294
|
+
/** True for built-in system workflows that have dedicated entry points — hidden from the work-mode selector. */
|
|
295
|
+
is_system?: boolean;
|
|
296
|
+
}
|
|
297
|
+
export interface SystemSettings {
|
|
298
|
+
/** Max nodes returned by wicked-estate graph-view (default 150). */
|
|
299
|
+
graphNodeLimit: number;
|
|
300
|
+
}
|
|
301
|
+
export declare const DEFAULT_SETTINGS: SystemSettings;
|
|
129
302
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/core/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,4EAA4E;AAC5E,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,cAAc,GACd,WAAW,GACX,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,QAAQ,CAAC;AAEb,gDAAgD;AAChD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,GAAG,UAAU,CAAC;AAEzE,2DAA2D;AAC3D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9D,4CAA4C;AAC5C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE/C,+FAA+F;AAC/F,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,KAAK,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D,uFAAuF;AACvF,MAAM,MAAM,WAAW,GACnB;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC/F;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACtC;IAAE,MAAM,EAAE,oBAAoB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
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IACf,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,wCAAwC;AACxC,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,gHAAgH;IAChH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE,cAE9B,CAAC"}
|
package/dist/core/types.js
CHANGED
|
@@ -11,5 +11,7 @@
|
|
|
11
11
|
* daemon speaks these daemon-owned shapes, which is what quarantines the
|
|
12
12
|
* FINALIZING core-ts `subscribe` seam to a single file (DES-STUDIO-001 §5.2).
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const DEFAULT_SETTINGS = {
|
|
15
|
+
graphNodeLimit: 150,
|
|
16
|
+
};
|
|
15
17
|
//# sourceMappingURL=types.js.map
|
package/dist/core/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG"}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AA4SH,MAAM,CAAC,MAAM,gBAAgB,GAAmB;IAC9C,cAAc,EAAE,GAAG;CACpB,CAAC"}
|