@punica/editor 1.6.2 → 1.6.4
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
|
@@ -280,6 +280,16 @@ declare module 'punica' {
|
|
|
280
280
|
* active (meta-tools not counted). Default ~16.
|
|
281
281
|
*/
|
|
282
282
|
hotSetSize?: number;
|
|
283
|
+
/**
|
|
284
|
+
* Prepend a one-shot workspace orientation (the
|
|
285
|
+
* `workspace.projectContext` snapshot: stack, dependencies, run
|
|
286
|
+
* scripts, VCS state, README digest, noise-free layout) as a frozen
|
|
287
|
+
* system block inside the cached prompt prefix. Off by default —
|
|
288
|
+
* a short/targeted run should not pay the orientation's tokens; the
|
|
289
|
+
* product opts in for open-ended "understand this project" runs.
|
|
290
|
+
* Best-effort: a failed snapshot is skipped, never fatal.
|
|
291
|
+
*/
|
|
292
|
+
includeProjectContext?: boolean;
|
|
283
293
|
}
|
|
284
294
|
|
|
285
295
|
/** Terminal result of an agent run. */
|
|
@@ -281,30 +281,6 @@ declare module 'punica' {
|
|
|
281
281
|
};
|
|
282
282
|
}): Promise<CapabilityResult>;
|
|
283
283
|
|
|
284
|
-
/**
|
|
285
|
-
* Validate code and identify issues.
|
|
286
|
-
*/
|
|
287
|
-
validator(input: {
|
|
288
|
-
code: string;
|
|
289
|
-
language?: string;
|
|
290
|
-
context?: {
|
|
291
|
-
workspaceId?: string;
|
|
292
|
-
filePath?: string;
|
|
293
|
-
};
|
|
294
|
-
}): Promise<CapabilityResult>;
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Provide code review feedback.
|
|
298
|
-
*/
|
|
299
|
-
reviewer(input: {
|
|
300
|
-
code: string;
|
|
301
|
-
language?: string;
|
|
302
|
-
context?: {
|
|
303
|
-
workspaceId?: string;
|
|
304
|
-
filePath?: string;
|
|
305
|
-
};
|
|
306
|
-
}): Promise<CapabilityResult>;
|
|
307
|
-
|
|
308
284
|
/**
|
|
309
285
|
* Edit and optimize Workflow IR structures.
|
|
310
286
|
*/
|