pi-fabric 0.84.4 → 0.84.5
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/agents/handoff-completion.d.ts +4 -0
- package/dist/agents/handoff-completion.d.ts.map +1 -0
- package/dist/chunks/{chunk-MPNEVZIH.js → chunk-MHHOFZKX.js} +3 -25
- package/dist/chunks/chunk-MHHOFZKX.js.map +7 -0
- package/dist/chunks/{chunk-AB5JTS5M.js → chunk-REINS4KK.js} +1 -1
- package/dist/chunks/{chunk-T3GPMH5E.js → chunk-ZITISNO3.js} +24 -1
- package/dist/chunks/chunk-ZITISNO3.js.map +7 -0
- package/dist/chunks/{chunk-I2LDU6BS.js → chunk-ZXEE7ICH.js} +50 -1
- package/dist/chunks/chunk-ZXEE7ICH.js.map +7 -0
- package/dist/fabric-runtime-state.js +4 -3
- package/dist/fabric-runtime-state.js.map +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -7
- package/dist/index.js.map +4 -4
- package/dist/prewalk/handoff.d.ts.map +1 -1
- package/dist/providers/agents-provider.d.ts.map +1 -1
- package/dist/ui/dashboard.js +2 -2
- package/dist/ui/handoff-completion.d.ts +3 -0
- package/dist/ui/handoff-completion.d.ts.map +1 -0
- package/dist/ui/settings.js +1 -1
- package/docs/agents.md +2 -0
- package/package.json +1 -1
- package/skills/fabric-exec/references/agents.md +2 -0
- package/dist/chunks/chunk-I2LDU6BS.js.map +0 -7
- package/dist/chunks/chunk-MPNEVZIH.js.map +0 -7
- package/dist/chunks/chunk-T3GPMH5E.js.map +0 -7
- /package/dist/chunks/{chunk-AB5JTS5M.js.map → chunk-REINS4KK.js.map} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
export declare const HANDOFF_COMPLETION_MESSAGE_TYPE = "pi-fabric-handoff-complete";
|
|
3
|
+
export declare const queueHandoffCompletion: (extension: ExtensionAPI, args: Record<string, unknown>, result: Record<string, unknown>) => void;
|
|
4
|
+
//# sourceMappingURL=handoff-completion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handoff-completion.d.ts","sourceRoot":"","sources":["../../src/agents/handoff-completion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAGpE,eAAO,MAAM,+BAA+B,+BAA+B,CAAC;AAE5E,eAAO,MAAM,sBAAsB,GACjC,WAAW,YAAY,EACvB,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,IAgCF,CAAC"}
|
|
@@ -10,11 +10,12 @@ import {
|
|
|
10
10
|
} from "./chunk-ZZ4LHQYJ.js";
|
|
11
11
|
import {
|
|
12
12
|
countContentLines,
|
|
13
|
+
countNewlines,
|
|
13
14
|
isFabricAgentToolPreview,
|
|
14
15
|
selectPreviewTextLines,
|
|
15
16
|
shouldSkipWriteDiffBytes,
|
|
16
17
|
shouldSkipWriteDiffComplexity
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZITISNO3.js";
|
|
18
19
|
import {
|
|
19
20
|
headlineArg
|
|
20
21
|
} from "./chunk-VE5LH2Z7.js";
|
|
@@ -22,27 +23,6 @@ import {
|
|
|
22
23
|
fabricStringLiterals
|
|
23
24
|
} from "./chunk-4VEGQHZO.js";
|
|
24
25
|
|
|
25
|
-
// src/util.ts
|
|
26
|
-
var countNewlines = (value) => {
|
|
27
|
-
let count = 0;
|
|
28
|
-
for (let index = 0; index < value.length; index++) {
|
|
29
|
-
if (value.charCodeAt(index) === 10) count++;
|
|
30
|
-
}
|
|
31
|
-
return count;
|
|
32
|
-
};
|
|
33
|
-
var truncateMiddle = (value, maxChars) => {
|
|
34
|
-
if (value.length <= maxChars) return value;
|
|
35
|
-
const marker = `
|
|
36
|
-
|
|
37
|
-
... ${value.length - maxChars} characters omitted by Pi Fabric ...
|
|
38
|
-
|
|
39
|
-
`;
|
|
40
|
-
const available = Math.max(0, maxChars - marker.length);
|
|
41
|
-
const head = Math.ceil(available / 2);
|
|
42
|
-
const tail = Math.floor(available / 2);
|
|
43
|
-
return `${value.slice(0, head)}${marker}${value.slice(value.length - tail)}`;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
26
|
// src/ui/structured.ts
|
|
47
27
|
import { stringify } from "yaml";
|
|
48
28
|
var normalizeJsonValue = (value) => {
|
|
@@ -4204,8 +4184,6 @@ var updateSpinner = (state, active, invalidate, now = Date.now()) => {
|
|
|
4204
4184
|
export {
|
|
4205
4185
|
continueArcGroup,
|
|
4206
4186
|
arcItemStyled,
|
|
4207
|
-
countNewlines,
|
|
4208
|
-
truncateMiddle,
|
|
4209
4187
|
isCoreToolAudit,
|
|
4210
4188
|
coreToolRendererEnabled,
|
|
4211
4189
|
coreToolPreviewEnabled,
|
|
@@ -4238,4 +4216,4 @@ export {
|
|
|
4238
4216
|
formatJsonAsYaml,
|
|
4239
4217
|
formatFabricValue
|
|
4240
4218
|
};
|
|
4241
|
-
//# sourceMappingURL=chunk-
|
|
4219
|
+
//# sourceMappingURL=chunk-MHHOFZKX.js.map
|