typebulb 0.17.3 → 0.18.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/README.md +16 -14
- package/dist/agents/claude/client.js +144 -138
- package/dist/agents/pi/client.js +1379 -0
- package/dist/agents/pi/index.html +2 -0
- package/dist/agents/pi/styles.css +1317 -0
- package/dist/index.js +353 -331
- package/dist/lint/index.d.ts +8 -0
- package/dist/lint/index.d.ts.map +1 -1
- package/dist/lint/index.js +23 -0
- package/dist/lint/index.js.map +1 -1
- package/dist/render.js +52 -46
- package/dist/servers.d.ts +6 -0
- package/dist/servers.js +95 -89
- package/package.json +1 -1
package/dist/servers.d.ts
CHANGED
|
@@ -65,6 +65,12 @@ export declare function slugifyBulbName(source: string): string
|
|
|
65
65
|
/** The source with its leading `---` frontmatter block stripped. */
|
|
66
66
|
export declare function stripFrontmatter(source: string): string
|
|
67
67
|
|
|
68
|
+
/** Return `source` with every bare client import in code.tsx guaranteed a config.json `dependencies`
|
|
69
|
+
* entry (deriving the missing ones as "latest" — the version the import-driven resolver already uses
|
|
70
|
+
* for an undeclared import). Idempotent: a fully-declared / non-bulb / import-less source is returned
|
|
71
|
+
* unchanged. Used by breakout to make a promoted embed a correct, runnable .bulb.md. */
|
|
72
|
+
export declare function ensureDeclaredDependencies(source: string): string
|
|
73
|
+
|
|
68
74
|
/** Is this bulb remembered as Trusted in the CLI's per-machine trust store? */
|
|
69
75
|
export declare function isBulbTrusted(file: string): boolean
|
|
70
76
|
|