@punica/editor 1.33.1 → 1.35.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punica/editor",
3
- "version": "1.33.1",
3
+ "version": "1.35.0",
4
4
  "description": "Punica Editor",
5
5
  "private": false,
6
6
  "type": "module",
package/types/index.d.ts CHANGED
@@ -246,6 +246,14 @@ export interface ShellEventOptions {
246
246
  /** Best-effort kernel-event emit from the shell/profile layer. */
247
247
  export function emitShellEvent(opts: ShellEventOptions): boolean;
248
248
 
249
+ /**
250
+ * The body the substrate seeds `.punica/.gitignore` with: everything under
251
+ * `.punica/` ignored, then an allowlist of authored files. A host writing a
252
+ * project's governance files before it boots (`ivyx init`) writes this
253
+ * rather than its own copy.
254
+ */
255
+ export const WORKSPACE_STATE_GITIGNORE: string;
256
+
249
257
  /** The core-owned ApplicationProfile mechanism (`punica.shell.Profile`). */
250
258
  export const Profile: {
251
259
  readonly manager: import('punica').shell.Profile.IProfileManager;
@@ -389,6 +389,22 @@ declare module 'punica' {
389
389
  * active (meta-tools not counted). Default 40.
390
390
  */
391
391
  hotSetSize?: number;
392
+ /**
393
+ * Whether the tools outside the hot set ride along as a one-line
394
+ * index the model can load on demand (`'full'`, the default) or are
395
+ * left out entirely (`'none'`: the hot set ships alone, without the
396
+ * `capability.search` / `capability.describe` meta-tools, since with
397
+ * nothing indexed there is nothing for them to load).
398
+ *
399
+ * The index was priced as one line per tool inside a cached prompt
400
+ * prefix. A local core caches no prefix across runs, so every fresh
401
+ * chat re-evaluates the whole index: measured on a 9B model, a 48 KB
402
+ * index plus 50 schemas made 16,878 input tokens and 46 seconds
403
+ * before a 44-token answer. The substrate cannot see which core is in
404
+ * front of the loop; the product can, and says so here. Ignored when
405
+ * `toolFilter` is supplied (verbatim selection carries no index).
406
+ */
407
+ deferredIndex?: 'full' | 'none';
392
408
  /**
393
409
  * Capability ids guaranteed a place in the hot set, whatever the
394
410
  * intent ranking says. Exact ids only — no globs, so the substrate