@popmelt.com/core 0.9.0 → 0.10.1
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/README.md +19 -0
- package/codex-plugin/.codex-plugin/plugin.json +43 -0
- package/codex-plugin/.mcp.json +12 -0
- package/codex-plugin/assets/popmelt-logo.svg +4 -0
- package/codex-plugin/hooks/hooks.json +41 -0
- package/codex-plugin/scripts/hook.mjs +19 -0
- package/codex-plugin/scripts/locate-cli.mjs +41 -0
- package/codex-plugin/scripts/mcp.mjs +15 -0
- package/codex-plugin/skills/popmelt-core/SKILL.md +23 -0
- package/dist/bridge-entry.mjs +61 -54
- package/dist/{chunk-UDWKKNYG.mjs → chunk-QLR2E4AW.mjs} +1 -1
- package/dist/cli.mjs +100 -71
- package/dist/index.mjs +1 -1
- package/dist/memory-legacy.d.mts +5 -1
- package/dist/memory-legacy.mjs +1 -1
- package/dist/memory-store.d.mts +13 -1
- package/dist/memory-store.mjs +3 -3
- package/dist/memory.d.mts +5 -1
- package/dist/memory.mjs +1 -1
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/react-scanner-ZXYS5M3Y.mjs +0 -0
- package/dist/render-generator-EANIDD2E.mjs +0 -0
- package/dist/server-GSD37B5H.mjs +240 -0
- package/dist/server.d.mts +14 -1
- package/dist/server.mjs +68 -61
- package/package.json +17 -15
- package/dist/server-S66CQCOZ.mjs +0 -233
package/dist/server.d.mts
CHANGED
|
@@ -5,6 +5,11 @@ type ImprintScope = {
|
|
|
5
5
|
kind: ImprintScopeKind;
|
|
6
6
|
values: string[];
|
|
7
7
|
};
|
|
8
|
+
/** A store-qualified address; abstraction level is intentionally not encoded. */
|
|
9
|
+
type ImprintExplanationRef = {
|
|
10
|
+
storeId: string;
|
|
11
|
+
explanationId: string;
|
|
12
|
+
};
|
|
8
13
|
type ImprintEvidence = {
|
|
9
14
|
id: string;
|
|
10
15
|
kind: 'observation' | 'application' | 'confirmation' | 'correction' | 'exception' | 'rejection';
|
|
@@ -48,6 +53,10 @@ type ImprintRelation = {
|
|
|
48
53
|
rationale: string;
|
|
49
54
|
createdAt: string;
|
|
50
55
|
};
|
|
56
|
+
type QualifiedImprintRelation = Omit<ImprintRelation, 'fromId' | 'toId'> & {
|
|
57
|
+
from: ImprintExplanationRef;
|
|
58
|
+
to: ImprintExplanationRef;
|
|
59
|
+
};
|
|
51
60
|
type ImprintGraph = {
|
|
52
61
|
version: 1;
|
|
53
62
|
projectId: string;
|
|
@@ -173,6 +182,7 @@ type PopmeltOptions = {
|
|
|
173
182
|
type PopmeltHandle = {
|
|
174
183
|
port: number;
|
|
175
184
|
projectId: string;
|
|
185
|
+
storeId?: string;
|
|
176
186
|
close: () => Promise<void>;
|
|
177
187
|
};
|
|
178
188
|
|
|
@@ -350,6 +360,9 @@ declare class ImprintService {
|
|
|
350
360
|
}): Promise<'applied' | 'pending_correction'>;
|
|
351
361
|
}
|
|
352
362
|
|
|
363
|
+
declare function imprintExplanationRef(storeId: string, explanationId: string): ImprintExplanationRef;
|
|
364
|
+
declare function qualifyImprintRelation(storeId: string, relation: ImprintRelation): QualifiedImprintRelation;
|
|
365
|
+
|
|
353
366
|
type StartPopmeltOptions = PopmeltOptions & {
|
|
354
367
|
force?: boolean;
|
|
355
368
|
detached?: boolean;
|
|
@@ -358,4 +371,4 @@ type StartPopmeltOptions = PopmeltOptions & {
|
|
|
358
371
|
};
|
|
359
372
|
declare function startPopmelt(options?: StartPopmeltOptions): Promise<PopmeltHandle>;
|
|
360
373
|
|
|
361
|
-
export { type ImprintConcrete, type ImprintContext, type ImprintEvidence, type ImprintExplanation, type ImprintExplanationKind, type ImprintExplanationState, type ImprintGraph, type ImprintGroundingAction, type ImprintMutation, type ImprintRelation, type ImprintRelationType, type ImprintScope, ImprintService, ImprintStore, type ImprintThreadSummary, type ImprintTransaction, type PopmeltHandle, type PopmeltOptions, type StartPopmeltOptions, formatImprintPrompt, parseImprintDraft, startPopmelt };
|
|
374
|
+
export { type ImprintConcrete, type ImprintContext, type ImprintEvidence, type ImprintExplanation, type ImprintExplanationKind, type ImprintExplanationRef, type ImprintExplanationState, type ImprintGraph, type ImprintGroundingAction, type ImprintMutation, type ImprintRelation, type ImprintRelationType, type ImprintScope, ImprintService, ImprintStore, type ImprintThreadSummary, type ImprintTransaction, type PopmeltHandle, type PopmeltOptions, type QualifiedImprintRelation, type StartPopmeltOptions, formatImprintPrompt, imprintExplanationRef, parseImprintDraft, qualifyImprintRelation, startPopmelt };
|